From a5836b375a2e87cea367dc394a5de7b31102ee7d Mon Sep 17 00:00:00 2001 From: Kostiantyn Smyrnov Date: Mon, 3 Apr 2023 23:10:10 +0200 Subject: [PATCH] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20Bump=20beta.6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/client/package.json | 2 +- examples/client/src/App.tsx | 2 +- examples/client/tsconfig.json | 10 +++++----- examples/client/tsconfig.node.json | 2 +- examples/client/yarn.lock | 8 ++++---- package.json | 4 ++-- tsconfig.json | 4 ++-- 7 files changed, 16 insertions(+), 16 deletions(-) diff --git a/examples/client/package.json b/examples/client/package.json index d9607778..5f0a3064 100644 --- a/examples/client/package.json +++ b/examples/client/package.json @@ -19,7 +19,7 @@ "typescript": "^5.0.3", "vite": "^4.2.1", "zod": "^3.21.4", - "@windingtree/sdk": "^0.1.0-beta.4" + "@windingtree/sdk": "^0.1.0-beta.5" }, "eslintConfig": { "extends": [ diff --git a/examples/client/src/App.tsx b/examples/client/src/App.tsx index d84d45b1..a0b29a88 100644 --- a/examples/client/src/App.tsx +++ b/examples/client/src/App.tsx @@ -10,7 +10,7 @@ import { import { RequestRecord } from '../../../src/client/requestsRegistry.js'; import { Client, createClient } from '../../../src/client/index.js'; import { ClientOptions, storage, utils } from '../../../src/index.js'; -// import { Client, ClientOptions, RequestRecord, createClient, storage } from '@windingtree/sdk'; +// import { Client, ClientOptions, RequestRecord, createClient, storage, utils } from '@windingtree/sdk'; /** Default request expiration time */ const defaultExpire = '30s'; diff --git a/examples/client/tsconfig.json b/examples/client/tsconfig.json index a21bb6b7..591d3c8e 100644 --- a/examples/client/tsconfig.json +++ b/examples/client/tsconfig.json @@ -1,16 +1,16 @@ { "compilerOptions": { - "target": "ESNext", + "target": "ES2022", "useDefineForClassFields": true, - "lib": ["DOM", "DOM.Iterable", "ESNext"], + "lib": ["ES2022", "DOM", "DOM.Iterable"], "allowJs": false, "skipLibCheck": true, - "esModuleInterop": false, + "esModuleInterop": true, "allowSyntheticDefaultImports": true, "strict": true, "forceConsistentCasingInFileNames": true, - "module": "ESNext", - "moduleResolution": "NodeNext", + "module": "ES2022", + "moduleResolution": "Node", "resolveJsonModule": true, "isolatedModules": true, "noEmit": true, diff --git a/examples/client/tsconfig.node.json b/examples/client/tsconfig.node.json index 9d31e2ae..fd1518a4 100644 --- a/examples/client/tsconfig.node.json +++ b/examples/client/tsconfig.node.json @@ -1,7 +1,7 @@ { "compilerOptions": { "composite": true, - "module": "ESNext", + "module": "ES2022", "moduleResolution": "Node", "allowSyntheticDefaultImports": true }, diff --git a/examples/client/yarn.lock b/examples/client/yarn.lock index 62a1f084..c2a21354 100644 --- a/examples/client/yarn.lock +++ b/examples/client/yarn.lock @@ -2177,10 +2177,10 @@ magic-string "^0.27.0" react-refresh "^0.14.0" -"@windingtree/sdk@^0.1.0-beta.4": - version "0.1.0-beta.4" - resolved "https://registry.yarnpkg.com/@windingtree/sdk/-/sdk-0.1.0-beta.4.tgz#ecb0ab022b6dd00a80e4d9490dc6c47af3d52894" - integrity sha512-29duApIev4DQ1k4O2WCISqJro9Zb+rylpKS8kxVlM6jpSm32u7awm2HfJbGR/k+vxOmYfzthYZsmEdmSziIL4g== +"@windingtree/sdk@^0.1.0-beta.5": + version "0.1.0-beta.5" + resolved "https://registry.yarnpkg.com/@windingtree/sdk/-/sdk-0.1.0-beta.5.tgz#41158f6adb8454e53f80dc4f7b8ba7e9cf245e45" + integrity sha512-oED/LKdrdZULbFmpiAIySpkU3DNE+qXT+yPf8kGllj/qyD8FtSe3UzaUrTDn6XpMqwr+YA7gZzaducb6MXwpuA== dependencies: "@chainsafe/libp2p-gossipsub" "^6.2.0" "@chainsafe/libp2p-noise" "^11.0.4" diff --git a/package.json b/package.json index 23541875..656d208f 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "type": "module", "exports": { ".": { - "import": "./lib/index.js" + "import": "./lib/src/index.js" }, "./utils": { "import": "./lib/utils/index.js" @@ -40,7 +40,7 @@ } }, "types": "./lib/types/index.d.ts", - "main": "./lib/index.js", + "main": "./lib/src/index.js", "files": [ "lib/**/*", "!**/*.tsbuildinfo" diff --git a/tsconfig.json b/tsconfig.json index 28c329c5..742f9741 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,9 +2,9 @@ "compilerOptions": { "strict": true, "esModuleInterop": true, - "lib": ["ES2022", "DOM"], + "lib": ["ES2022", "DOM", "DOM.Iterable"], "target": "ES2022", - "module": "ESNext", + "module": "ES2022", "moduleResolution": "NodeNext", "skipLibCheck": true, "checkJs": true,