@actioncodes/protocol 1.0.1 → 1.0.2

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 (28) hide show
  1. package/README.md +1 -1
  2. package/dist/codegen.d.ts +13 -0
  3. package/dist/codegen.d.ts.map +1 -1
  4. package/dist/codegen.js +41 -1
  5. package/docs/README.md +1 -1
  6. package/docs/actioncode/classes/ActionCode.md +23 -23
  7. package/docs/actioncode/interfaces/ActionCodeFields.md +11 -11
  8. package/docs/actioncode/interfaces/ActionCodeMetadata.md +3 -3
  9. package/docs/actioncode/interfaces/ActionCodeTransaction.md +4 -4
  10. package/docs/actioncode/type-aliases/ActionCodeStatus.md +1 -1
  11. package/docs/adapters/base/classes/BaseChainAdapter.md +10 -10
  12. package/docs/adapters/solana/solana/classes/SolanaAdapter.md +12 -12
  13. package/docs/adapters/solana/solana/type-aliases/SolanaTransaction.md +1 -1
  14. package/docs/codegen/classes/CodeGenerator.md +64 -12
  15. package/docs/constants/type-aliases/SupportedChain.md +1 -1
  16. package/docs/constants/variables/CODE_LENGTH.md +1 -1
  17. package/docs/constants/variables/CODE_TTL.md +1 -1
  18. package/docs/constants/variables/MAX_PREFIX_LENGTH.md +1 -1
  19. package/docs/constants/variables/MIN_PREFIX_LENGTH.md +1 -1
  20. package/docs/constants/variables/PROTOCOL_CODE_PREFIX.md +1 -1
  21. package/docs/constants/variables/PROTOCOL_PREFIX.md +1 -1
  22. package/docs/constants/variables/PROTOCOL_VERSION.md +1 -1
  23. package/docs/constants/variables/SUPPORTED_CHAINS.md +1 -1
  24. package/docs/meta/classes/ProtocolMetaParser.md +6 -6
  25. package/docs/meta/interfaces/ProtocolMetaV1.md +7 -7
  26. package/docs/protocol/classes/ActionCodesProtocol.md +21 -21
  27. package/docs/protocol/interfaces/ProtocolConfig.md +7 -7
  28. package/package.json +1 -1
@@ -6,7 +6,7 @@
6
6
 
7
7
  # Interface: ProtocolConfig
8
8
 
9
- Defined in: [protocol.ts:10](https://github.com/otaprotocol/actioncodes/blob/fa975e9d2d8d3ff72314243f62c7c4bd689877da/src/protocol.ts#L10)
9
+ Defined in: [protocol.ts:10](https://github.com/otaprotocol/actioncodes/blob/6e0359c879f763df764595dbea0cb596eff80113/src/protocol.ts#L10)
10
10
 
11
11
  OTA Protocol Configuration
12
12
 
@@ -16,7 +16,7 @@ OTA Protocol Configuration
16
16
 
17
17
  > **codeLength**: `number`
18
18
 
19
- Defined in: [protocol.ts:18](https://github.com/otaprotocol/actioncodes/blob/fa975e9d2d8d3ff72314243f62c7c4bd689877da/src/protocol.ts#L18)
19
+ Defined in: [protocol.ts:18](https://github.com/otaprotocol/actioncodes/blob/6e0359c879f763df764595dbea0cb596eff80113/src/protocol.ts#L18)
20
20
 
21
21
  Code length in digits
22
22
 
@@ -26,7 +26,7 @@ Code length in digits
26
26
 
27
27
  > **codeTTL**: `number`
28
28
 
29
- Defined in: [protocol.ts:16](https://github.com/otaprotocol/actioncodes/blob/fa975e9d2d8d3ff72314243f62c7c4bd689877da/src/protocol.ts#L16)
29
+ Defined in: [protocol.ts:16](https://github.com/otaprotocol/actioncodes/blob/6e0359c879f763df764595dbea0cb596eff80113/src/protocol.ts#L16)
30
30
 
31
31
  Code TTL in milliseconds
32
32
 
@@ -36,7 +36,7 @@ Code TTL in milliseconds
36
36
 
37
37
  > **defaultPrefix**: `string`
38
38
 
39
- Defined in: [protocol.ts:14](https://github.com/otaprotocol/actioncodes/blob/fa975e9d2d8d3ff72314243f62c7c4bd689877da/src/protocol.ts#L14)
39
+ Defined in: [protocol.ts:14](https://github.com/otaprotocol/actioncodes/blob/6e0359c879f763df764595dbea0cb596eff80113/src/protocol.ts#L14)
40
40
 
41
41
  Default prefix for action codes
42
42
 
@@ -46,7 +46,7 @@ Default prefix for action codes
46
46
 
47
47
  > **maxPrefixLength**: `number`
48
48
 
49
- Defined in: [protocol.ts:20](https://github.com/otaprotocol/actioncodes/blob/fa975e9d2d8d3ff72314243f62c7c4bd689877da/src/protocol.ts#L20)
49
+ Defined in: [protocol.ts:20](https://github.com/otaprotocol/actioncodes/blob/6e0359c879f763df764595dbea0cb596eff80113/src/protocol.ts#L20)
50
50
 
51
51
  Maximum prefix length
52
52
 
@@ -56,7 +56,7 @@ Maximum prefix length
56
56
 
57
57
  > **minPrefixLength**: `number`
58
58
 
59
- Defined in: [protocol.ts:22](https://github.com/otaprotocol/actioncodes/blob/fa975e9d2d8d3ff72314243f62c7c4bd689877da/src/protocol.ts#L22)
59
+ Defined in: [protocol.ts:22](https://github.com/otaprotocol/actioncodes/blob/6e0359c879f763df764595dbea0cb596eff80113/src/protocol.ts#L22)
60
60
 
61
61
  Minimum prefix length
62
62
 
@@ -66,6 +66,6 @@ Minimum prefix length
66
66
 
67
67
  > **version**: `string`
68
68
 
69
- Defined in: [protocol.ts:12](https://github.com/otaprotocol/actioncodes/blob/fa975e9d2d8d3ff72314243f62c7c4bd689877da/src/protocol.ts#L12)
69
+ Defined in: [protocol.ts:12](https://github.com/otaprotocol/actioncodes/blob/6e0359c879f763df764595dbea0cb596eff80113/src/protocol.ts#L12)
70
70
 
71
71
  Protocol version
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@actioncodes/protocol",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Action Codes Protocol",
5
5
  "main": "src/index.js",
6
6
  "types": "dist/index.d.ts",