From e8d91222b46c18ffbd5b3ba2b8c9462641717e0a Mon Sep 17 00:00:00 2001 From: Kostiantyn Smyrnov Date: Tue, 4 Apr 2023 00:54:23 +0200 Subject: [PATCH] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20Bump=20beta.10?= 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 | 4 +--- examples/client/tsconfig.json | 6 +++--- examples/client/tsconfig.node.json | 2 +- examples/client/yarn.lock | 8 ++++---- tsconfig.json | 6 +++--- 6 files changed, 13 insertions(+), 15 deletions(-) diff --git a/examples/client/package.json b/examples/client/package.json index b26595ef..9500eab0 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.8" + "@windingtree/sdk": "0.1.0-beta.9" }, "eslintConfig": { "extends": [ diff --git a/examples/client/src/App.tsx b/examples/client/src/App.tsx index a0b29a88..6e817cde 100644 --- a/examples/client/src/App.tsx +++ b/examples/client/src/App.tsx @@ -7,9 +7,7 @@ import { contractConfig, serverAddress, } from '../../shared/types.js'; -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, createClient, RequestRecord, storage, utils } from '../../../src/index.js'; // import { Client, ClientOptions, RequestRecord, createClient, storage, utils } from '@windingtree/sdk'; /** Default request expiration time */ diff --git a/examples/client/tsconfig.json b/examples/client/tsconfig.json index 591d3c8e..4b67de28 100644 --- a/examples/client/tsconfig.json +++ b/examples/client/tsconfig.json @@ -1,15 +1,15 @@ { "compilerOptions": { - "target": "ES2022", + "target": "ESNext", "useDefineForClassFields": true, - "lib": ["ES2022", "DOM", "DOM.Iterable"], + "lib": ["ESNext", "DOM", "DOM.Iterable"], "allowJs": false, "skipLibCheck": true, "esModuleInterop": true, "allowSyntheticDefaultImports": true, "strict": true, "forceConsistentCasingInFileNames": true, - "module": "ES2022", + "module": "ESNext", "moduleResolution": "Node", "resolveJsonModule": true, "isolatedModules": true, diff --git a/examples/client/tsconfig.node.json b/examples/client/tsconfig.node.json index fd1518a4..9d31e2ae 100644 --- a/examples/client/tsconfig.node.json +++ b/examples/client/tsconfig.node.json @@ -1,7 +1,7 @@ { "compilerOptions": { "composite": true, - "module": "ES2022", + "module": "ESNext", "moduleResolution": "Node", "allowSyntheticDefaultImports": true }, diff --git a/examples/client/yarn.lock b/examples/client/yarn.lock index 73bbe4e0..ca1edae1 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.8": - version "0.1.0-beta.8" - resolved "https://registry.yarnpkg.com/@windingtree/sdk/-/sdk-0.1.0-beta.8.tgz#1f15455a889121092cba46be34f3f0acbba8831f" - integrity sha512-uc7BYeuJ2Llr4RY6RUlIW1by3O8d2gng7ew/swaoEyhsDTwl6NtNn/Iz3STQ2+34tQSTsNvKv/9YHrna2Guexw== +"@windingtree/sdk@0.1.0-beta.9": + version "0.1.0-beta.9" + resolved "https://registry.yarnpkg.com/@windingtree/sdk/-/sdk-0.1.0-beta.9.tgz#215fe4729d0bb7b777de449d9e3d4ce56241b432" + integrity sha512-L2RuVtCGcCuSAEcUjE25k2BaDx3SbZQJos/ncU9ncmilKFNuPbt+QAmxgveZVZRXCb5fInJyWa+V9bD9NvPAaw== dependencies: "@chainsafe/libp2p-gossipsub" "^6.2.0" "@chainsafe/libp2p-noise" "^11.0.4" diff --git a/tsconfig.json b/tsconfig.json index 742f9741..6c316371 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,9 +2,9 @@ "compilerOptions": { "strict": true, "esModuleInterop": true, - "lib": ["ES2022", "DOM", "DOM.Iterable"], - "target": "ES2022", - "module": "ES2022", + "lib": ["ESNext", "DOM", "DOM.Iterable"], + "target": "ESNext", + "module": "ESNext", "moduleResolution": "NodeNext", "skipLibCheck": true, "checkJs": true,