@actioncodes/protocol 1.2.0 → 1.2.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 (43) hide show
  1. package/LICENSE +1 -1
  2. package/dist/actioncode.d.ts +1 -0
  3. package/dist/actioncode.d.ts.map +1 -1
  4. package/dist/actioncode.js +16 -0
  5. package/dist/adapters/base.d.ts.map +1 -1
  6. package/dist/adapters/base.js +13 -0
  7. package/dist/adapters/solana/index.d.ts.map +1 -1
  8. package/dist/adapters/solana/index.js +13 -0
  9. package/dist/adapters/solana/solana.d.ts.map +1 -1
  10. package/dist/adapters/solana/solana.js +13 -0
  11. package/dist/codegen.d.ts.map +1 -1
  12. package/dist/codegen.js +13 -0
  13. package/dist/constants.d.ts.map +1 -1
  14. package/dist/constants.js +13 -0
  15. package/dist/index.d.ts.map +1 -1
  16. package/dist/index.js +13 -0
  17. package/dist/meta.d.ts.map +1 -1
  18. package/dist/meta.js +13 -0
  19. package/dist/protocol.d.ts.map +1 -1
  20. package/dist/protocol.js +13 -0
  21. package/docs/actioncode/classes/ActionCode.md +42 -24
  22. package/docs/actioncode/interfaces/ActionCodeFields.md +11 -11
  23. package/docs/actioncode/interfaces/ActionCodeMetadata.md +3 -3
  24. package/docs/actioncode/interfaces/ActionCodeTransaction.md +7 -7
  25. package/docs/actioncode/type-aliases/ActionCodeStatus.md +1 -1
  26. package/docs/adapters/base/classes/BaseChainAdapter.md +14 -14
  27. package/docs/adapters/solana/solana/classes/SolanaAdapter.md +16 -16
  28. package/docs/adapters/solana/solana/type-aliases/SolanaTransaction.md +1 -1
  29. package/docs/codegen/classes/CodeGenerator.md +14 -14
  30. package/docs/constants/type-aliases/SupportedChain.md +1 -1
  31. package/docs/constants/variables/CODE_LENGTH.md +1 -1
  32. package/docs/constants/variables/CODE_TTL.md +1 -1
  33. package/docs/constants/variables/MAX_PREFIX_LENGTH.md +1 -1
  34. package/docs/constants/variables/MIN_PREFIX_LENGTH.md +1 -1
  35. package/docs/constants/variables/PROTOCOL_CODE_PREFIX.md +1 -1
  36. package/docs/constants/variables/PROTOCOL_PREFIX.md +1 -1
  37. package/docs/constants/variables/PROTOCOL_VERSION.md +1 -1
  38. package/docs/constants/variables/SUPPORTED_CHAINS.md +1 -1
  39. package/docs/meta/classes/ProtocolMetaParser.md +6 -6
  40. package/docs/meta/interfaces/ProtocolMetaV1.md +7 -7
  41. package/docs/protocol/classes/ActionCodesProtocol.md +22 -22
  42. package/docs/protocol/interfaces/ProtocolConfig.md +7 -7
  43. package/package.json +1 -1
@@ -6,7 +6,7 @@
6
6
 
7
7
  # Interface: ProtocolMetaV1
8
8
 
9
- Defined in: [meta.ts:7](https://github.com/otaprotocol/actioncodes/blob/d0ef10ae3bd279eafa4f9f7708c521c6ab240398/src/meta.ts#L7)
9
+ Defined in: [meta.ts:7](https://github.com/otaprotocol/actioncodes/blob/7fa582d3aecdeca51131d2fc9eec0802298f9a4d/src/meta.ts#L7)
10
10
 
11
11
  Protocol meta structure for code verification
12
12
 
@@ -16,7 +16,7 @@ Protocol meta structure for code verification
16
16
 
17
17
  > **id**: `string`
18
18
 
19
- Defined in: [meta.ts:11](https://github.com/otaprotocol/actioncodes/blob/d0ef10ae3bd279eafa4f9f7708c521c6ab240398/src/meta.ts#L11)
19
+ Defined in: [meta.ts:11](https://github.com/otaprotocol/actioncodes/blob/7fa582d3aecdeca51131d2fc9eec0802298f9a4d/src/meta.ts#L11)
20
20
 
21
21
  ***
22
22
 
@@ -24,7 +24,7 @@ Defined in: [meta.ts:11](https://github.com/otaprotocol/actioncodes/blob/d0ef10a
24
24
 
25
25
  > **initiator**: `string`
26
26
 
27
- Defined in: [meta.ts:10](https://github.com/otaprotocol/actioncodes/blob/d0ef10ae3bd279eafa4f9f7708c521c6ab240398/src/meta.ts#L10)
27
+ Defined in: [meta.ts:10](https://github.com/otaprotocol/actioncodes/blob/7fa582d3aecdeca51131d2fc9eec0802298f9a4d/src/meta.ts#L10)
28
28
 
29
29
  ***
30
30
 
@@ -32,7 +32,7 @@ Defined in: [meta.ts:10](https://github.com/otaprotocol/actioncodes/blob/d0ef10a
32
32
 
33
33
  > `optional` **iss**: `string`
34
34
 
35
- Defined in: [meta.ts:12](https://github.com/otaprotocol/actioncodes/blob/d0ef10ae3bd279eafa4f9f7708c521c6ab240398/src/meta.ts#L12)
35
+ Defined in: [meta.ts:12](https://github.com/otaprotocol/actioncodes/blob/7fa582d3aecdeca51131d2fc9eec0802298f9a4d/src/meta.ts#L12)
36
36
 
37
37
  ***
38
38
 
@@ -40,7 +40,7 @@ Defined in: [meta.ts:12](https://github.com/otaprotocol/actioncodes/blob/d0ef10a
40
40
 
41
41
  > `optional` **params**: `string`
42
42
 
43
- Defined in: [meta.ts:13](https://github.com/otaprotocol/actioncodes/blob/d0ef10ae3bd279eafa4f9f7708c521c6ab240398/src/meta.ts#L13)
43
+ Defined in: [meta.ts:13](https://github.com/otaprotocol/actioncodes/blob/7fa582d3aecdeca51131d2fc9eec0802298f9a4d/src/meta.ts#L13)
44
44
 
45
45
  ***
46
46
 
@@ -48,7 +48,7 @@ Defined in: [meta.ts:13](https://github.com/otaprotocol/actioncodes/blob/d0ef10a
48
48
 
49
49
  > **prefix**: `string`
50
50
 
51
- Defined in: [meta.ts:9](https://github.com/otaprotocol/actioncodes/blob/d0ef10ae3bd279eafa4f9f7708c521c6ab240398/src/meta.ts#L9)
51
+ Defined in: [meta.ts:9](https://github.com/otaprotocol/actioncodes/blob/7fa582d3aecdeca51131d2fc9eec0802298f9a4d/src/meta.ts#L9)
52
52
 
53
53
  ***
54
54
 
@@ -56,4 +56,4 @@ Defined in: [meta.ts:9](https://github.com/otaprotocol/actioncodes/blob/d0ef10ae
56
56
 
57
57
  > **version**: `string`
58
58
 
59
- Defined in: [meta.ts:8](https://github.com/otaprotocol/actioncodes/blob/d0ef10ae3bd279eafa4f9f7708c521c6ab240398/src/meta.ts#L8)
59
+ Defined in: [meta.ts:8](https://github.com/otaprotocol/actioncodes/blob/7fa582d3aecdeca51131d2fc9eec0802298f9a4d/src/meta.ts#L8)
@@ -6,7 +6,7 @@
6
6
 
7
7
  # Class: ActionCodesProtocol
8
8
 
9
- Defined in: [protocol.ts:31](https://github.com/otaprotocol/actioncodes/blob/d0ef10ae3bd279eafa4f9f7708c521c6ab240398/src/protocol.ts#L31)
9
+ Defined in: [protocol.ts:31](https://github.com/otaprotocol/actioncodes/blob/7fa582d3aecdeca51131d2fc9eec0802298f9a4d/src/protocol.ts#L31)
10
10
 
11
11
  OTA Protocol - Main entry point for the One-Time Action Code Protocol
12
12
 
@@ -19,7 +19,7 @@ action codes across multiple blockchain networks.
19
19
 
20
20
  > **new ActionCodesProtocol**(`config?`): `ActionCodesProtocol`
21
21
 
22
- Defined in: [protocol.ts:35](https://github.com/otaprotocol/actioncodes/blob/d0ef10ae3bd279eafa4f9f7708c521c6ab240398/src/protocol.ts#L35)
22
+ Defined in: [protocol.ts:35](https://github.com/otaprotocol/actioncodes/blob/7fa582d3aecdeca51131d2fc9eec0802298f9a4d/src/protocol.ts#L35)
23
23
 
24
24
  #### Parameters
25
25
 
@@ -37,7 +37,7 @@ Defined in: [protocol.ts:35](https://github.com/otaprotocol/actioncodes/blob/d0e
37
37
 
38
38
  > **attachMessage**(`actionCode`, `message`, `params?`, `messageType?`): [`ActionCode`](../../actioncode/classes/ActionCode.md)
39
39
 
40
- Defined in: [protocol.ts:226](https://github.com/otaprotocol/actioncodes/blob/d0ef10ae3bd279eafa4f9f7708c521c6ab240398/src/protocol.ts#L226)
40
+ Defined in: [protocol.ts:226](https://github.com/otaprotocol/actioncodes/blob/7fa582d3aecdeca51131d2fc9eec0802298f9a4d/src/protocol.ts#L226)
41
41
 
42
42
  Attach a message to an action code (sign-only mode, resolved state)
43
43
 
@@ -79,7 +79,7 @@ Updated ActionCode with transaction containing message
79
79
 
80
80
  > **attachTransaction**(`actionCode`, `transaction`, `issuer`, `params?`, `txType?`): [`ActionCode`](../../actioncode/classes/ActionCode.md)
81
81
 
82
- Defined in: [protocol.ts:168](https://github.com/otaprotocol/actioncodes/blob/d0ef10ae3bd279eafa4f9f7708c521c6ab240398/src/protocol.ts#L168)
82
+ Defined in: [protocol.ts:168](https://github.com/otaprotocol/actioncodes/blob/7fa582d3aecdeca51131d2fc9eec0802298f9a4d/src/protocol.ts#L168)
83
83
 
84
84
  Attach a transaction to an action code with automatic protocol meta injection
85
85
 
@@ -127,7 +127,7 @@ Updated ActionCode with injected protocol meta
127
127
 
128
128
  > **createActionCode**(`pubkey`, `signFn`, `chain`, `prefix`, `timestamp?`): `Promise`\<[`ActionCode`](../../actioncode/classes/ActionCode.md)\>
129
129
 
130
- Defined in: [protocol.ts:116](https://github.com/otaprotocol/actioncodes/blob/d0ef10ae3bd279eafa4f9f7708c521c6ab240398/src/protocol.ts#L116)
130
+ Defined in: [protocol.ts:116](https://github.com/otaprotocol/actioncodes/blob/7fa582d3aecdeca51131d2fc9eec0802298f9a4d/src/protocol.ts#L116)
131
131
 
132
132
  Create an action code
133
133
 
@@ -175,7 +175,7 @@ Promise resolving to a complete ActionCode object
175
175
 
176
176
  > **createProtocolMeta**(`actionCode`, `issuer?`, `params?`, `timestamp?`): [`ProtocolMetaV1`](../../meta/interfaces/ProtocolMetaV1.md)
177
177
 
178
- Defined in: [protocol.ts:314](https://github.com/otaprotocol/actioncodes/blob/d0ef10ae3bd279eafa4f9f7708c521c6ab240398/src/protocol.ts#L314)
178
+ Defined in: [protocol.ts:314](https://github.com/otaprotocol/actioncodes/blob/7fa582d3aecdeca51131d2fc9eec0802298f9a4d/src/protocol.ts#L314)
179
179
 
180
180
  Create protocol meta for a transaction
181
181
 
@@ -217,7 +217,7 @@ ProtocolMetaV1 object
217
217
 
218
218
  > **decodeProtocolMeta**(`transaction`, `chain`): `null` \| [`ProtocolMetaV1`](../../meta/interfaces/ProtocolMetaV1.md)
219
219
 
220
- Defined in: [protocol.ts:350](https://github.com/otaprotocol/actioncodes/blob/d0ef10ae3bd279eafa4f9f7708c521c6ab240398/src/protocol.ts#L350)
220
+ Defined in: [protocol.ts:350](https://github.com/otaprotocol/actioncodes/blob/7fa582d3aecdeca51131d2fc9eec0802298f9a4d/src/protocol.ts#L350)
221
221
 
222
222
  Decode protocol meta from a transaction
223
223
 
@@ -247,7 +247,7 @@ Decoded ProtocolMetaV1 or null
247
247
 
248
248
  > **decodeProtocolMetaTyped**\<`T`\>(`transaction`, `chain`): `null` \| [`ProtocolMetaV1`](../../meta/interfaces/ProtocolMetaV1.md)
249
249
 
250
- Defined in: [protocol.ts:432](https://github.com/otaprotocol/actioncodes/blob/d0ef10ae3bd279eafa4f9f7708c521c6ab240398/src/protocol.ts#L432)
250
+ Defined in: [protocol.ts:432](https://github.com/otaprotocol/actioncodes/blob/7fa582d3aecdeca51131d2fc9eec0802298f9a4d/src/protocol.ts#L432)
251
251
 
252
252
  Decode protocol meta with type safety
253
253
 
@@ -283,7 +283,7 @@ Decoded ProtocolMetaV1 or null
283
283
 
284
284
  > **detectTampering**\<`T`\>(`transaction`, `chain`, `authorities`, `expectedPrefix?`): `boolean`
285
285
 
286
- Defined in: [protocol.ts:412](https://github.com/otaprotocol/actioncodes/blob/d0ef10ae3bd279eafa4f9f7708c521c6ab240398/src/protocol.ts#L412)
286
+ Defined in: [protocol.ts:412](https://github.com/otaprotocol/actioncodes/blob/7fa582d3aecdeca51131d2fc9eec0802298f9a4d/src/protocol.ts#L412)
287
287
 
288
288
  Detect tampered transactions with type safety
289
289
 
@@ -331,7 +331,7 @@ True if transaction is valid and not tampered
331
331
 
332
332
  > **encodeProtocolMeta**(`meta`, `chain`): `any`
333
333
 
334
- Defined in: [protocol.ts:335](https://github.com/otaprotocol/actioncodes/blob/d0ef10ae3bd279eafa4f9f7708c521c6ab240398/src/protocol.ts#L335)
334
+ Defined in: [protocol.ts:335](https://github.com/otaprotocol/actioncodes/blob/7fa582d3aecdeca51131d2fc9eec0802298f9a4d/src/protocol.ts#L335)
335
335
 
336
336
  Encode protocol meta for a specific chain
337
337
 
@@ -361,7 +361,7 @@ Chain-specific encoded meta
361
361
 
362
362
  > **finalizeActionCode**(`actionCode`, `signature`): [`ActionCode`](../../actioncode/classes/ActionCode.md)
363
363
 
364
- Defined in: [protocol.ts:264](https://github.com/otaprotocol/actioncodes/blob/d0ef10ae3bd279eafa4f9f7708c521c6ab240398/src/protocol.ts#L264)
364
+ Defined in: [protocol.ts:264](https://github.com/otaprotocol/actioncodes/blob/7fa582d3aecdeca51131d2fc9eec0802298f9a4d/src/protocol.ts#L264)
365
365
 
366
366
  Finalize an action code based on its intent type
367
367
 
@@ -391,7 +391,7 @@ Updated ActionCode
391
391
 
392
392
  > **getChainAdapter**\<`T`\>(`chain`): `undefined` \| [`BaseChainAdapter`](../../adapters/base/classes/BaseChainAdapter.md)\<`T`\>
393
393
 
394
- Defined in: [protocol.ts:77](https://github.com/otaprotocol/actioncodes/blob/d0ef10ae3bd279eafa4f9f7708c521c6ab240398/src/protocol.ts#L77)
394
+ Defined in: [protocol.ts:77](https://github.com/otaprotocol/actioncodes/blob/7fa582d3aecdeca51131d2fc9eec0802298f9a4d/src/protocol.ts#L77)
395
395
 
396
396
  Get chain adapter with proper typing
397
397
 
@@ -421,7 +421,7 @@ Chain adapter or undefined
421
421
 
422
422
  > **getConfig**(): [`ProtocolConfig`](../interfaces/ProtocolConfig.md)
423
423
 
424
- Defined in: [protocol.ts:445](https://github.com/otaprotocol/actioncodes/blob/d0ef10ae3bd279eafa4f9f7708c521c6ab240398/src/protocol.ts#L445)
424
+ Defined in: [protocol.ts:445](https://github.com/otaprotocol/actioncodes/blob/7fa582d3aecdeca51131d2fc9eec0802298f9a4d/src/protocol.ts#L445)
425
425
 
426
426
  Get protocol configuration
427
427
 
@@ -437,7 +437,7 @@ Current protocol configuration
437
437
 
438
438
  > **getRegisteredChains**(): `string`[]
439
439
 
440
- Defined in: [protocol.ts:59](https://github.com/otaprotocol/actioncodes/blob/d0ef10ae3bd279eafa4f9f7708c521c6ab240398/src/protocol.ts#L59)
440
+ Defined in: [protocol.ts:59](https://github.com/otaprotocol/actioncodes/blob/7fa582d3aecdeca51131d2fc9eec0802298f9a4d/src/protocol.ts#L59)
441
441
 
442
442
  Get registered chain adapters
443
443
 
@@ -453,7 +453,7 @@ Array of registered chain identifiers
453
453
 
454
454
  > **isChainSupported**(`chain`): `boolean`
455
455
 
456
- Defined in: [protocol.ts:68](https://github.com/otaprotocol/actioncodes/blob/d0ef10ae3bd279eafa4f9f7708c521c6ab240398/src/protocol.ts#L68)
456
+ Defined in: [protocol.ts:68](https://github.com/otaprotocol/actioncodes/blob/7fa582d3aecdeca51131d2fc9eec0802298f9a4d/src/protocol.ts#L68)
457
457
 
458
458
  Check if a chain is supported
459
459
 
@@ -477,7 +477,7 @@ True if chain is supported
477
477
 
478
478
  > **registerAdapter**\<`T`\>(`adapter`): `void`
479
479
 
480
- Defined in: [protocol.ts:51](https://github.com/otaprotocol/actioncodes/blob/d0ef10ae3bd279eafa4f9f7708c521c6ab240398/src/protocol.ts#L51)
480
+ Defined in: [protocol.ts:51](https://github.com/otaprotocol/actioncodes/blob/7fa582d3aecdeca51131d2fc9eec0802298f9a4d/src/protocol.ts#L51)
481
481
 
482
482
  Register a chain adapter
483
483
 
@@ -505,7 +505,7 @@ Chain adapter implementation
505
505
 
506
506
  > **updateConfig**(`updates`): `void`
507
507
 
508
- Defined in: [protocol.ts:453](https://github.com/otaprotocol/actioncodes/blob/d0ef10ae3bd279eafa4f9f7708c521c6ab240398/src/protocol.ts#L453)
508
+ Defined in: [protocol.ts:453](https://github.com/otaprotocol/actioncodes/blob/7fa582d3aecdeca51131d2fc9eec0802298f9a4d/src/protocol.ts#L453)
509
509
 
510
510
  Update protocol configuration
511
511
 
@@ -527,7 +527,7 @@ Configuration updates
527
527
 
528
528
  > **validateActionCode**(`actionCode`): `boolean`
529
529
 
530
- Defined in: [protocol.ts:86](https://github.com/otaprotocol/actioncodes/blob/d0ef10ae3bd279eafa4f9f7708c521c6ab240398/src/protocol.ts#L86)
530
+ Defined in: [protocol.ts:86](https://github.com/otaprotocol/actioncodes/blob/7fa582d3aecdeca51131d2fc9eec0802298f9a4d/src/protocol.ts#L86)
531
531
 
532
532
  Validate an action code, checking intent type and required fields
533
533
 
@@ -551,7 +551,7 @@ True if valid
551
551
 
552
552
  > **validateTransaction**(`transaction`, `chain`, `authorities`, `expectedPrefix?`): `boolean`
553
553
 
554
- Defined in: [protocol.ts:367](https://github.com/otaprotocol/actioncodes/blob/d0ef10ae3bd279eafa4f9f7708c521c6ab240398/src/protocol.ts#L367)
554
+ Defined in: [protocol.ts:367](https://github.com/otaprotocol/actioncodes/blob/7fa582d3aecdeca51131d2fc9eec0802298f9a4d/src/protocol.ts#L367)
555
555
 
556
556
  Validate a transaction with protocol meta
557
557
 
@@ -593,7 +593,7 @@ True if transaction is valid
593
593
 
594
594
  > **validateTransactionTyped**\<`T`\>(`transaction`, `chain`, `authorities`, `expectedPrefix?`): `boolean`
595
595
 
596
- Defined in: [protocol.ts:390](https://github.com/otaprotocol/actioncodes/blob/d0ef10ae3bd279eafa4f9f7708c521c6ab240398/src/protocol.ts#L390)
596
+ Defined in: [protocol.ts:390](https://github.com/otaprotocol/actioncodes/blob/7fa582d3aecdeca51131d2fc9eec0802298f9a4d/src/protocol.ts#L390)
597
597
 
598
598
  Type-safe transaction validation for specific chains
599
599
 
@@ -641,7 +641,7 @@ True if transaction is valid
641
641
 
642
642
  > `static` **create**(): `ActionCodesProtocol`
643
643
 
644
- Defined in: [protocol.ts:461](https://github.com/otaprotocol/actioncodes/blob/d0ef10ae3bd279eafa4f9f7708c521c6ab240398/src/protocol.ts#L461)
644
+ Defined in: [protocol.ts:461](https://github.com/otaprotocol/actioncodes/blob/7fa582d3aecdeca51131d2fc9eec0802298f9a4d/src/protocol.ts#L461)
645
645
 
646
646
  Create a new protocol instance with default configuration
647
647
 
@@ -657,7 +657,7 @@ New protocol instance
657
657
 
658
658
  > `static` **createWithConfig**(`config`): `ActionCodesProtocol`
659
659
 
660
- Defined in: [protocol.ts:470](https://github.com/otaprotocol/actioncodes/blob/d0ef10ae3bd279eafa4f9f7708c521c6ab240398/src/protocol.ts#L470)
660
+ Defined in: [protocol.ts:470](https://github.com/otaprotocol/actioncodes/blob/7fa582d3aecdeca51131d2fc9eec0802298f9a4d/src/protocol.ts#L470)
661
661
 
662
662
  Create a new protocol instance with custom configuration
663
663
 
@@ -6,7 +6,7 @@
6
6
 
7
7
  # Interface: ProtocolConfig
8
8
 
9
- Defined in: [protocol.ts:10](https://github.com/otaprotocol/actioncodes/blob/d0ef10ae3bd279eafa4f9f7708c521c6ab240398/src/protocol.ts#L10)
9
+ Defined in: [protocol.ts:10](https://github.com/otaprotocol/actioncodes/blob/7fa582d3aecdeca51131d2fc9eec0802298f9a4d/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/d0ef10ae3bd279eafa4f9f7708c521c6ab240398/src/protocol.ts#L18)
19
+ Defined in: [protocol.ts:18](https://github.com/otaprotocol/actioncodes/blob/7fa582d3aecdeca51131d2fc9eec0802298f9a4d/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/d0ef10ae3bd279eafa4f9f7708c521c6ab240398/src/protocol.ts#L16)
29
+ Defined in: [protocol.ts:16](https://github.com/otaprotocol/actioncodes/blob/7fa582d3aecdeca51131d2fc9eec0802298f9a4d/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/d0ef10ae3bd279eafa4f9f7708c521c6ab240398/src/protocol.ts#L14)
39
+ Defined in: [protocol.ts:14](https://github.com/otaprotocol/actioncodes/blob/7fa582d3aecdeca51131d2fc9eec0802298f9a4d/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/d0ef10ae3bd279eafa4f9f7708c521c6ab240398/src/protocol.ts#L20)
49
+ Defined in: [protocol.ts:20](https://github.com/otaprotocol/actioncodes/blob/7fa582d3aecdeca51131d2fc9eec0802298f9a4d/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/d0ef10ae3bd279eafa4f9f7708c521c6ab240398/src/protocol.ts#L22)
59
+ Defined in: [protocol.ts:22](https://github.com/otaprotocol/actioncodes/blob/7fa582d3aecdeca51131d2fc9eec0802298f9a4d/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/d0ef10ae3bd279eafa4f9f7708c521c6ab240398/src/protocol.ts#L12)
69
+ Defined in: [protocol.ts:12](https://github.com/otaprotocol/actioncodes/blob/7fa582d3aecdeca51131d2fc9eec0802298f9a4d/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.2.0",
3
+ "version": "1.2.2",
4
4
  "description": "Action Codes Protocol",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",