@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.
- package/README.md +1 -1
- package/dist/codegen.d.ts +13 -0
- package/dist/codegen.d.ts.map +1 -1
- package/dist/codegen.js +41 -1
- package/docs/README.md +1 -1
- package/docs/actioncode/classes/ActionCode.md +23 -23
- package/docs/actioncode/interfaces/ActionCodeFields.md +11 -11
- package/docs/actioncode/interfaces/ActionCodeMetadata.md +3 -3
- package/docs/actioncode/interfaces/ActionCodeTransaction.md +4 -4
- package/docs/actioncode/type-aliases/ActionCodeStatus.md +1 -1
- package/docs/adapters/base/classes/BaseChainAdapter.md +10 -10
- package/docs/adapters/solana/solana/classes/SolanaAdapter.md +12 -12
- package/docs/adapters/solana/solana/type-aliases/SolanaTransaction.md +1 -1
- package/docs/codegen/classes/CodeGenerator.md +64 -12
- package/docs/constants/type-aliases/SupportedChain.md +1 -1
- package/docs/constants/variables/CODE_LENGTH.md +1 -1
- package/docs/constants/variables/CODE_TTL.md +1 -1
- package/docs/constants/variables/MAX_PREFIX_LENGTH.md +1 -1
- package/docs/constants/variables/MIN_PREFIX_LENGTH.md +1 -1
- package/docs/constants/variables/PROTOCOL_CODE_PREFIX.md +1 -1
- package/docs/constants/variables/PROTOCOL_PREFIX.md +1 -1
- package/docs/constants/variables/PROTOCOL_VERSION.md +1 -1
- package/docs/constants/variables/SUPPORTED_CHAINS.md +1 -1
- package/docs/meta/classes/ProtocolMetaParser.md +6 -6
- package/docs/meta/interfaces/ProtocolMetaV1.md +7 -7
- package/docs/protocol/classes/ActionCodesProtocol.md +21 -21
- package/docs/protocol/interfaces/ProtocolConfig.md +7 -7
- 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/
|
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/
|
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/
|
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/
|
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/
|
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/
|
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/
|
69
|
+
Defined in: [protocol.ts:12](https://github.com/otaprotocol/actioncodes/blob/6e0359c879f763df764595dbea0cb596eff80113/src/protocol.ts#L12)
|
70
70
|
|
71
71
|
Protocol version
|