starknet 3.4.0 → 3.6.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 (121) hide show
  1. package/.eslintrc +2 -1
  2. package/CHANGELOG.md +45 -0
  3. package/__tests__/account.test.ts +43 -35
  4. package/__tests__/accountContract.test.ts +5 -48
  5. package/__tests__/constancts.ts +2 -0
  6. package/__tests__/contract.test.ts +144 -54
  7. package/__tests__/provider.test.ts +8 -0
  8. package/__tests__/utils/utils.browser.test.ts +1 -3
  9. package/account/default.d.ts +2 -0
  10. package/account/default.js +60 -12
  11. package/account/interface.d.ts +14 -0
  12. package/contract/contractFactory.d.ts +36 -0
  13. package/contract/contractFactory.js +218 -0
  14. package/contract/default.d.ts +143 -0
  15. package/{contract.js → contract/default.js} +372 -86
  16. package/contract/index.d.ts +3 -0
  17. package/contract/index.js +28 -0
  18. package/contract/interface.d.ts +79 -0
  19. package/contract/interface.js +8 -0
  20. package/dist/account/default.d.ts +2 -1
  21. package/dist/account/default.js +47 -9
  22. package/dist/account/interface.d.ts +13 -1
  23. package/dist/contract/contractFactory.d.ts +32 -0
  24. package/dist/contract/contractFactory.js +102 -0
  25. package/dist/contract/default.d.ts +121 -0
  26. package/dist/contract/default.js +648 -0
  27. package/dist/contract/index.d.ts +3 -0
  28. package/dist/contract/index.js +15 -0
  29. package/dist/contract/interface.d.ts +72 -0
  30. package/dist/contract/interface.js +9 -0
  31. package/dist/index.d.ts +1 -1
  32. package/dist/index.js +1 -1
  33. package/dist/provider/default.d.ts +12 -2
  34. package/dist/provider/default.js +20 -6
  35. package/dist/provider/interface.d.ts +3 -1
  36. package/dist/signer/index.d.ts +1 -0
  37. package/dist/signer/index.js +1 -0
  38. package/dist/signer/ledger.d.ts +12 -0
  39. package/dist/signer/ledger.js +138 -0
  40. package/dist/types/api.d.ts +61 -0
  41. package/dist/types/contract.d.ts +5 -0
  42. package/dist/types/contract.js +2 -0
  43. package/dist/types/index.d.ts +1 -0
  44. package/dist/types/index.js +1 -0
  45. package/dist/types/lib.d.ts +11 -1
  46. package/dist/utils/transaction.d.ts +1 -2
  47. package/index.d.ts +1 -1
  48. package/index.js +1 -1
  49. package/package.json +5 -2
  50. package/provider/default.d.ts +12 -1
  51. package/provider/default.js +29 -16
  52. package/provider/interface.d.ts +3 -1
  53. package/signer/index.d.ts +1 -0
  54. package/signer/index.js +1 -0
  55. package/signer/ledger.d.ts +15 -0
  56. package/signer/ledger.js +243 -0
  57. package/src/account/default.ts +25 -4
  58. package/src/account/interface.ts +15 -0
  59. package/src/contract/contractFactory.ts +78 -0
  60. package/src/contract/default.ts +627 -0
  61. package/src/contract/index.ts +3 -0
  62. package/src/contract/interface.ts +87 -0
  63. package/src/index.ts +1 -1
  64. package/src/provider/default.ts +21 -14
  65. package/src/provider/interface.ts +3 -1
  66. package/src/signer/index.ts +1 -0
  67. package/src/signer/ledger.ts +81 -0
  68. package/src/types/api.ts +66 -0
  69. package/src/types/contract.ts +5 -0
  70. package/src/types/index.ts +1 -0
  71. package/src/types/lib.ts +12 -1
  72. package/src/utils/transaction.ts +1 -2
  73. package/tsconfig.json +1 -10
  74. package/types/api.d.ts +61 -0
  75. package/types/contract.d.ts +5 -0
  76. package/types/contract.js +2 -0
  77. package/types/index.d.ts +1 -0
  78. package/types/index.js +1 -0
  79. package/types/lib.d.ts +11 -1
  80. package/utils/transaction.d.ts +1 -2
  81. package/www/README.md +41 -0
  82. package/www/babel.config.js +3 -0
  83. package/www/code-examples/account.js +62 -0
  84. package/www/code-examples/amm.js +49 -0
  85. package/www/code-examples/erc20.js +10 -0
  86. package/www/code-examples/package-lock.json +336 -0
  87. package/www/code-examples/package.json +15 -0
  88. package/www/docs/API/_category_.json +5 -0
  89. package/www/docs/API/account.md +11 -0
  90. package/www/docs/API/contract.md +14 -0
  91. package/www/docs/API/index.md +4 -0
  92. package/www/docs/API/provider.md +10 -0
  93. package/www/docs/API/signer.md +8 -0
  94. package/www/docusaurus.config.js +131 -0
  95. package/www/guides/account.md +60 -0
  96. package/www/guides/cra.md +3 -0
  97. package/www/guides/erc20.md +88 -0
  98. package/www/guides/intro.md +20 -0
  99. package/www/package-lock.json +22285 -0
  100. package/www/package.json +43 -0
  101. package/www/sidebars.js +31 -0
  102. package/www/src/components/HomepageFeatures/index.tsx +67 -0
  103. package/www/src/components/HomepageFeatures/styles.module.css +10 -0
  104. package/www/src/css/custom.css +39 -0
  105. package/www/src/pages/index.module.css +23 -0
  106. package/www/src/pages/index.tsx +40 -0
  107. package/www/src/pages/markdown-page.md +7 -0
  108. package/www/static/.nojekyll +0 -0
  109. package/www/static/img/docusaurus.png +0 -0
  110. package/www/static/img/favicon.ico +0 -0
  111. package/www/static/img/logo.svg +17 -0
  112. package/www/static/img/starknet-1.png +0 -0
  113. package/www/static/img/starknet-2.png +0 -0
  114. package/www/static/img/starknet-3.png +0 -0
  115. package/www/static/img/tutorial/docsVersionDropdown.png +0 -0
  116. package/www/static/img/tutorial/localeDropdown.png +0 -0
  117. package/www/tsconfig.json +8 -0
  118. package/contract.d.ts +0 -98
  119. package/dist/contract.d.ts +0 -94
  120. package/dist/contract.js +0 -389
  121. package/src/contract.ts +0 -357

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the package file manually.