@tonconnect/sdk 3.3.0-beta.0 → 3.3.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tonconnect-sdk.min.js +1 -1
- package/dist/tonconnect-sdk.min.js.map +1 -1
- package/lib/cjs/index.cjs +615 -180
- package/lib/cjs/index.cjs.map +1 -1
- package/lib/esm/index.mjs +614 -181
- package/lib/esm/index.mjs.map +1 -1
- package/lib/types/index.d.ts +4 -0
- package/package.json +18 -22
package/lib/types/index.d.ts
CHANGED
|
@@ -425,6 +425,8 @@ export declare type DisconnectionEvent = {
|
|
|
425
425
|
scope: 'dapp' | 'wallet';
|
|
426
426
|
} & ConnectionInfo;
|
|
427
427
|
|
|
428
|
+
export declare function enableQaMode(): void;
|
|
429
|
+
|
|
428
430
|
export declare function encodeTelegramUrlParameters(parameters: string): string;
|
|
429
431
|
|
|
430
432
|
/**
|
|
@@ -465,6 +467,8 @@ export declare class FetchWalletsError extends TonConnectError {
|
|
|
465
467
|
constructor(...args: ConstructorParameters<typeof TonConnectError>);
|
|
466
468
|
}
|
|
467
469
|
|
|
470
|
+
export declare function isQaModeEnabled(): boolean;
|
|
471
|
+
|
|
468
472
|
export declare function isTelegramUrl(link: string | undefined): link is string;
|
|
469
473
|
|
|
470
474
|
/**
|
package/package.json
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tonconnect/sdk",
|
|
3
|
-
"version": "3.3.0-beta.
|
|
4
|
-
"scripts": {
|
|
5
|
-
"build": "npx rimraf types-dist && npx rimraf lib && npx rollup -c rollup.config.mjs && ttsc --project tsconfig.declarations.json && api-extractor run && npx rimraf types-dist && npx rimraf dist && npx webpack --config webpack.config.js",
|
|
6
|
-
"test": "vitest run"
|
|
7
|
-
},
|
|
3
|
+
"version": "3.3.0-beta.1",
|
|
8
4
|
"repository": {
|
|
9
5
|
"type": "git",
|
|
10
6
|
"url": "git+https://github.com/ton-connect/sdk.git"
|
|
@@ -24,9 +20,9 @@
|
|
|
24
20
|
"author": "tonconnect",
|
|
25
21
|
"license": "Apache-2.0",
|
|
26
22
|
"dependencies": {
|
|
27
|
-
"@tonconnect/isomorphic-eventsource": "
|
|
28
|
-
"@tonconnect/
|
|
29
|
-
"@tonconnect/
|
|
23
|
+
"@tonconnect/isomorphic-eventsource": "0.0.2",
|
|
24
|
+
"@tonconnect/protocol": "2.3.0",
|
|
25
|
+
"@tonconnect/isomorphic-fetch": "0.0.3"
|
|
30
26
|
},
|
|
31
27
|
"files": [
|
|
32
28
|
"lib",
|
|
@@ -43,26 +39,26 @@
|
|
|
43
39
|
"default": "./lib/cjs/index.cjs"
|
|
44
40
|
}
|
|
45
41
|
},
|
|
46
|
-
"nx": {
|
|
47
|
-
"tags": [
|
|
48
|
-
"scope:sdk"
|
|
49
|
-
]
|
|
50
|
-
},
|
|
51
42
|
"devDependencies": {
|
|
43
|
+
"@rollup/plugin-replace": "5.0.5",
|
|
44
|
+
"@rollup/plugin-typescript": "^11.0.0",
|
|
45
|
+
"@types/node": "^24.2.0",
|
|
46
|
+
"rollup": "^3.18.0",
|
|
52
47
|
"ts-loader": "^9.4.1",
|
|
53
|
-
"
|
|
48
|
+
"ts-patch": "^3.3.0",
|
|
54
49
|
"typescript-transform-paths": "^3.3.1",
|
|
55
|
-
"
|
|
56
|
-
"webpack-cli": "^5.0.0",
|
|
57
|
-
"rollup": "^3.18.0",
|
|
58
|
-
"@rollup/plugin-typescript": "^11.0.0",
|
|
59
|
-
"@rollup/plugin-replace": "5.0.5",
|
|
60
|
-
"vite": "^4.2.1",
|
|
50
|
+
"vite": "^7.0.6",
|
|
61
51
|
"vite-tsconfig-paths": "^4.0.5",
|
|
62
52
|
"vitest": "^0.29.2",
|
|
63
|
-
"vitest-fetch-mock": "^0.2.2"
|
|
53
|
+
"vitest-fetch-mock": "^0.2.2",
|
|
54
|
+
"webpack": "^5.75.0",
|
|
55
|
+
"webpack-cli": "^5.0.0"
|
|
64
56
|
},
|
|
65
57
|
"typedoc": {
|
|
66
58
|
"entryPoint": "./src/index.ts"
|
|
59
|
+
},
|
|
60
|
+
"scripts": {
|
|
61
|
+
"build": "rimraf types-dist && rimraf lib && rollup -c rollup.config.mjs && tspc --project tsconfig.declarations.json && api-extractor run && rimraf types-dist && rimraf dist && webpack --config webpack.config.js",
|
|
62
|
+
"test": "vitest run"
|
|
67
63
|
}
|
|
68
|
-
}
|
|
64
|
+
}
|