@algorandfoundation/puya-ts 1.2.0-beta.8 → 1.2.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 (108) hide show
  1. package/README.md +7 -5
  2. package/{analyser-service-Cifw26x1.js → analyser-service-BNgLEqCk.js} +367 -366
  3. package/{analyser-service-Cifw26x1.js.map → analyser-service-BNgLEqCk.js.map} +1 -1
  4. package/analyserService.mjs +7 -6
  5. package/analyserService.mjs.map +1 -1
  6. package/arc4-clientgen-DaRok-mo.js +324 -0
  7. package/arc4-clientgen-DaRok-mo.js.map +1 -0
  8. package/arc4-clientgen.d.ts +6 -0
  9. package/awst/intrinsic-factory.d.ts +6 -2
  10. package/awst/json-serialize-awst.d.ts +5 -1
  11. package/awst/node-factory.d.ts +2 -0
  12. package/awst/nodes.d.ts +27 -15
  13. package/awst/source-location.d.ts +0 -1
  14. package/awst/to-code-visitor.d.ts +3 -2
  15. package/awst/validation/arc4-approval-calls-router.d.ts +1 -1
  16. package/awst/validation/{awst-traverser.d.ts → function-traverser.d.ts} +4 -10
  17. package/awst/wtypes.d.ts +47 -45
  18. package/awst_build/arc4-util.d.ts +1 -38
  19. package/awst_build/ast-visitors/base-visitor.d.ts +0 -1
  20. package/awst_build/ast-visitors/class-definition-visitor.d.ts +721 -1
  21. package/awst_build/ast-visitors/contract-method-visitor.d.ts +3 -5
  22. package/awst_build/ast-visitors/function-visitor.d.ts +721 -1
  23. package/awst_build/ast-visitors/text-visitor.d.ts +721 -1
  24. package/awst_build/context/awst-build-context.d.ts +1 -1
  25. package/awst_build/eb/arc28/arc-28-emit-function-builder.d.ts +1 -2
  26. package/awst_build/eb/arc4/arrays.d.ts +2 -1
  27. package/awst_build/eb/arc4/c2c.d.ts +0 -17
  28. package/awst_build/eb/arc4/util.d.ts +1 -0
  29. package/awst_build/eb/array-like/arrays.d.ts +3 -2
  30. package/awst_build/eb/array-like/util.d.ts +0 -1
  31. package/awst_build/eb/bytes-expression-builder.d.ts +0 -28
  32. package/awst_build/eb/contract-builder.d.ts +0 -11
  33. package/awst_build/eb/index.d.ts +0 -2
  34. package/awst_build/eb/literal/object-literal-expression-builder.d.ts +8 -4
  35. package/awst_build/eb/logged-error-builder.d.ts +11 -0
  36. package/awst_build/eb/objects/util.d.ts +0 -2
  37. package/awst_build/eb/op-module-builder.d.ts +0 -3
  38. package/awst_build/eb/storage/box/box.d.ts +1 -21
  39. package/awst_build/eb/storage/global-map.d.ts +21 -0
  40. package/awst_build/eb/storage/local-map.d.ts +21 -0
  41. package/awst_build/eb/string-expression-builder.d.ts +0 -6
  42. package/awst_build/eb/util/resolve-compat-builder.d.ts +0 -8
  43. package/awst_build/models/decorator-data.d.ts +1 -0
  44. package/awst_build/op-metadata.d.ts +4 -3
  45. package/awst_build/ptypes/arc4-types.d.ts +11 -7
  46. package/awst_build/ptypes/base.d.ts +5 -0
  47. package/awst_build/ptypes/for-export.d.ts +0 -1
  48. package/awst_build/ptypes/index.d.ts +103 -100
  49. package/awst_build/ptypes/util.d.ts +2 -2
  50. package/awst_build/ptypes/visitor.d.ts +3 -1
  51. package/awst_build/ptypes/visitors/default-visitor.d.ts +3 -1
  52. package/awst_build/ptypes/visitors/index-type-visitor.d.ts +0 -31
  53. package/awst_build/type-resolver.d.ts +1 -1
  54. package/bin/puyats-clientgen.d.ts +2 -0
  55. package/bin/puyats-clientgen.mjs +101 -0
  56. package/bin/puyats-clientgen.mjs.map +1 -0
  57. package/bin/puyats-ls.mjs +23 -21
  58. package/bin/puyats-ls.mjs.map +1 -1
  59. package/bin/run-cli.mjs +19 -13
  60. package/bin/run-cli.mjs.map +1 -1
  61. package/{check-node-version-BeAm9-W7.js → check-node-version-B6xl9CGx.js} +3 -3
  62. package/{check-node-version-BeAm9-W7.js.map → check-node-version-B6xl9CGx.js.map} +1 -1
  63. package/cli/build-command.d.ts +2 -0
  64. package/cli-ls.d.ts +1 -1
  65. package/cli.d.ts +1 -1
  66. package/cli.mjs +39 -79
  67. package/cli.mjs.map +1 -1
  68. package/clientgen.d.ts +1 -0
  69. package/code-fix/{invalid-non-null-assertion.d.ts → no-op-non-null-assertion.d.ts} +1 -1
  70. package/{compile-BjiMmmUX.js → compile-B7ifMybr.js} +11 -4
  71. package/compile-B7ifMybr.js.map +1 -0
  72. package/compile.d.ts +1 -1
  73. package/constants.d.ts +7 -2
  74. package/contract-class-model-CgmcMfyz.js +5459 -0
  75. package/contract-class-model-CgmcMfyz.js.map +1 -0
  76. package/errors.d.ts +1 -6
  77. package/index.d.ts +0 -1
  78. package/index.mjs +36 -26
  79. package/index.mjs.map +1 -1
  80. package/language-server/analyser-service.d.ts +0 -1
  81. package/language-server/compile-trigger-queue.d.ts +2 -2
  82. package/language-server/puya-language-server.d.ts +0 -38
  83. package/logger/index.d.ts +0 -7
  84. package/{options-CJdnAUbx.js → options-GI57j8ua.js} +3147 -8844
  85. package/options-GI57j8ua.js.map +1 -0
  86. package/options.d.ts +8 -3
  87. package/package.json +16 -7
  88. package/puya/check-puya-version.d.ts +0 -13
  89. package/puya/index.d.ts +1 -1
  90. package/puya/log-deserializer.d.ts +0 -2
  91. package/puya/puya-service.d.ts +5 -1
  92. package/{resolve-puya-path-PXFxrpdO.js → resolve-puya-path-lZ6KfZZB.js} +9 -45
  93. package/resolve-puya-path-lZ6KfZZB.js.map +1 -0
  94. package/semver-CILSJ13C.js +45 -0
  95. package/semver-CILSJ13C.js.map +1 -0
  96. package/util/base-85.d.ts +1 -4
  97. package/util/generate-temp-file.d.ts +0 -8
  98. package/util/index.d.ts +1 -3
  99. package/util--2MIsJjZ.js +63 -0
  100. package/util--2MIsJjZ.js.map +1 -0
  101. package/visitor/syntax-names.d.ts +4 -4
  102. package/visitor/visitor.d.ts +4 -4
  103. package/compile-BjiMmmUX.js.map +0 -1
  104. package/language-server/ls-logger.d.ts +0 -11
  105. package/options-CJdnAUbx.js.map +0 -1
  106. package/resolve-puya-path-PXFxrpdO.js.map +0 -1
  107. package/util/arc4-signature-parser.d.ts +0 -14
  108. package/util/polyfills.d.ts +0 -1
package/README.md CHANGED
@@ -10,9 +10,11 @@ Algorand TypeScript is compiled for execution on the AVM by PuyaTs, a TypeScript
10
10
 
11
11
  ## Documentation
12
12
 
13
- - [Language Guide](https://algorandfoundation.github.io/puya-ts/documents/Algorand_TypeScript_Language_Guide.html)
14
- - [API Docs](https://algorandfoundation.github.io/puya-ts/modules.html)
15
- - [CLI Guide](https://algorandfoundation.github.io/puya-ts/documents/Compiler_CLI_Guide.html)
13
+ - [Language Guide](https://algorandfoundation.github.io/puya-ts/language-guide/)
14
+ - [API Reference](https://algorandfoundation.github.io/puya-ts/api/)
15
+ - [CLI Guide](https://algorandfoundation.github.io/puya-ts/cli/)
16
+ - [Migration Guides](https://algorandfoundation.github.io/puya-ts/migration-guides/)
17
+ - [Release Notes](https://github.com/algorandfoundation/puya-ts/releases)
16
18
  - [Contribution Guide](CONTRIBUTING.md)
17
- - [Releases Notes](https://github.com/algorandfoundation/puya-ts/releases)
18
- - [Migration Guides to 1.0.1](https://algorandfoundation.github.io/puya-ts/documents/Algorand_TypeScript_Migration_Guides.html)
19
+
20
+ For developing the documentation site locally, see the [docs README](docs/README.md).