@layerzerolabs/lz-ton-sdk-v2 3.0.12-ton.0

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.
Files changed (76) hide show
  1. package/CHANGELOG.md +103 -0
  2. package/artifacts/AllStorages.compiled.json +1 -0
  3. package/artifacts/AllStorages.test.compiled.json +1 -0
  4. package/artifacts/BaseContract.test.compiled.json +1 -0
  5. package/artifacts/Channel.compiled.json +1 -0
  6. package/artifacts/Channel.permissions.test.compiled.json +1 -0
  7. package/artifacts/ChannelBurn.test.compiled.json +1 -0
  8. package/artifacts/ChannelCommitPacket.test.compiled.json +1 -0
  9. package/artifacts/ChannelConfig.test.compiled.json +1 -0
  10. package/artifacts/ChannelInitialize.test.compiled.json +1 -0
  11. package/artifacts/ChannelMsglibIntegration.test.compiled.json +1 -0
  12. package/artifacts/ChannelMsglibSendCallback.test.compiled.json +1 -0
  13. package/artifacts/ChannelNilify.test.compiled.json +1 -0
  14. package/artifacts/ChannelReceive.test.compiled.json +1 -0
  15. package/artifacts/ChannelReceiveCallback.test.compiled.json +1 -0
  16. package/artifacts/ChannelReceiveView.test.compiled.json +1 -0
  17. package/artifacts/ChannelSend.test.compiled.json +1 -0
  18. package/artifacts/Classlib.test.compiled.json +1 -0
  19. package/artifacts/Connection.compiled.json +1 -0
  20. package/artifacts/Connection.test.compiled.json +1 -0
  21. package/artifacts/Controller.assertions.test.compiled.json +1 -0
  22. package/artifacts/Controller.compiled.json +1 -0
  23. package/artifacts/Controller.permissions.test.compiled.json +1 -0
  24. package/artifacts/Controller.test.compiled.json +1 -0
  25. package/artifacts/Counter.compiled.json +1 -0
  26. package/artifacts/Counter.permissions.test.compiled.json +1 -0
  27. package/artifacts/Counter.setters.test.compiled.json +1 -0
  28. package/artifacts/Counter.test.compiled.json +1 -0
  29. package/artifacts/Dvn.compiled.json +1 -0
  30. package/artifacts/Dvn.test.compiled.json +1 -0
  31. package/artifacts/Endpoint.compiled.json +1 -0
  32. package/artifacts/Endpoint.permissions.test.compiled.json +1 -0
  33. package/artifacts/Endpoint.test.compiled.json +1 -0
  34. package/artifacts/EndpointSetEpConfigDefaults.test.compiled.json +1 -0
  35. package/artifacts/Executor.compiled.json +1 -0
  36. package/artifacts/Executor.test.compiled.json +1 -0
  37. package/artifacts/LzClasses.test.compiled.json +1 -0
  38. package/artifacts/LzUtil.test.compiled.json +1 -0
  39. package/artifacts/MsgData.test.compiled.json +1 -0
  40. package/artifacts/MsglibPacketCodec.test.compiled.json +1 -0
  41. package/artifacts/MultiSig.compiled.json +1 -0
  42. package/artifacts/MultiSigOrder.compiled.json +1 -0
  43. package/artifacts/PipelinedOutOfOrder.test.compiled.json +1 -0
  44. package/artifacts/SmlConnection.compiled.json +1 -0
  45. package/artifacts/SmlConnection.permissions.test.compiled.json +1 -0
  46. package/artifacts/SmlConnection.test.compiled.json +1 -0
  47. package/artifacts/SmlManager.compiled.json +1 -0
  48. package/artifacts/SmlManager.permissions.test.compiled.json +1 -0
  49. package/artifacts/SmlManager.test.compiled.json +1 -0
  50. package/artifacts/Uln.compiled.json +1 -0
  51. package/artifacts/Uln.test.compiled.json +1 -0
  52. package/artifacts/UlnManager.compiled.json +1 -0
  53. package/artifacts/UlnManager.test.compiled.json +1 -0
  54. package/artifacts/UlnReceiveConfig.test.compiled.json +1 -0
  55. package/artifacts/UlnSend.test.compiled.json +1 -0
  56. package/artifacts/UlnSendConfig.test.compiled.json +1 -0
  57. package/artifacts/UlnSendWorkerFactory.test.compiled.json +1 -0
  58. package/artifacts/UlnUtil.test.compiled.json +1 -0
  59. package/artifacts/WorkerCore.test.compiled.json +1 -0
  60. package/artifacts/ZroMinter.compiled.json +1 -0
  61. package/artifacts/ZroWallet.compiled.json +1 -0
  62. package/deployments/ton-sandbox-local/AllStorages.json +9 -0
  63. package/deployments/ton-sandbox-local/Controller.json +9 -0
  64. package/deployments/ton-sandbox-local/Counter.json +9 -0
  65. package/deployments/ton-sandbox-local/SmlManager.json +9 -0
  66. package/deployments/ton-testnet/Counter.json +9 -0
  67. package/deployments/ton-testnet/Delegate.json +9 -0
  68. package/deployments/ton-testnet/EndpointMaster.json +9 -0
  69. package/deployments/ton-testnet/SimpleMessageLib.json +9 -0
  70. package/dist/index.cjs +14937 -0
  71. package/dist/index.cjs.map +1 -0
  72. package/dist/index.d.mts +3140 -0
  73. package/dist/index.d.ts +3140 -0
  74. package/dist/index.mjs +14859 -0
  75. package/dist/index.mjs.map +1 -0
  76. package/package.json +67 -0
package/package.json ADDED
@@ -0,0 +1,67 @@
1
+ {
2
+ "name": "@layerzerolabs/lz-ton-sdk-v2",
3
+ "version": "3.0.12-ton.0",
4
+ "license": "BUSL-1.1",
5
+ "exports": {
6
+ ".": {
7
+ "types": "./dist/index.d.ts",
8
+ "import": "./dist/index.mjs",
9
+ "require": "./dist/index.cjs"
10
+ },
11
+ "./package.json": "./package.json",
12
+ "./deployments/*": "./deployments/*",
13
+ "./artifacts/*": "./artifacts/*"
14
+ },
15
+ "main": "./dist/index.cjs",
16
+ "types": "./dist/index.d.ts",
17
+ "files": [
18
+ "deployments/**/*",
19
+ "artifacts/**/*",
20
+ "dist/**/*"
21
+ ],
22
+ "scripts": {
23
+ "build": "$npm_execpath clean-prebuild && $npm_execpath build-ts",
24
+ "build-ts": "$npm_execpath tsc --noEmit && $npm_execpath tsup",
25
+ "clean": "$npm_execpath clean-prebuild && rimraf .turbo",
26
+ "clean-prebuild": "rimraf dist",
27
+ "gen": "$npm_execpath gen-sdk && $npm_execpath gen-test",
28
+ "gen-sdk": "CONTRACTS_FOLDER=../contracts/ SDK_FOLDER=. $npm_execpath ts-node scripts/sdk-generator.ts && $npm_execpath eslint src/constants src/wrappers --ext .ts --no-error-on-unmatched-pattern --fix",
29
+ "gen-test": "SDK_FOLDER=. $npm_execpath ts-node scripts/test-utils-generator.ts && $npm_execpath eslint tests/auto-utils.ts --no-error-on-unmatched-pattern --fix",
30
+ "test": "$npm_execpath test-only",
31
+ "test-only": "jest --maxRetries=1"
32
+ },
33
+ "dependencies": {
34
+ "@ton/core": "^0.59.0",
35
+ "@ton/crypto": "^3.3.0",
36
+ "bigint-buffer": "^1.1.5",
37
+ "crc-32": "^1.2.2",
38
+ "ethers": "^5.7.2",
39
+ "tiny-invariant": "^1.3.1"
40
+ },
41
+ "devDependencies": {
42
+ "@aws-crypto/sha256-js": "^5.2.0",
43
+ "@jest/globals": "^29.7.0",
44
+ "@layerzerolabs/ton-sdk-tools": "^3.0.12-ton.0",
45
+ "@layerzerolabs/tsup-config-next": "^3.0.12-ton.0",
46
+ "@layerzerolabs/typescript-config-next": "^3.0.12-ton.0",
47
+ "@ston-fi/funcbox": "^0.1.1",
48
+ "@ton/sandbox": "^0.22.0",
49
+ "@ton/test-utils": "^0.4.2",
50
+ "@types/chai": "^4.3.11",
51
+ "@types/chai-as-promised": "^7.1.0",
52
+ "@types/jest": "^29.5.10",
53
+ "@types/node": "^20.10.5",
54
+ "chai": "^4.3.10",
55
+ "chai-as-promised": "^7.1.1",
56
+ "eslint": "^8.55.0",
57
+ "jest": "^29.7.0",
58
+ "rimraf": "^5.0.5",
59
+ "ts-jest": "^29.1.1",
60
+ "ts-node": "^10.9.1",
61
+ "tsup": "^8.0.1",
62
+ "typescript": "~5.2.2"
63
+ },
64
+ "publishConfig": {
65
+ "access": "public"
66
+ }
67
+ }