@actioncodes/protocol 2.0.21 → 2.0.23

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 (89) hide show
  1. package/README.md +239 -146
  2. package/dist/adapters/SolanaAdapter.d.ts.map +1 -1
  3. package/dist/constants.d.ts +1 -1
  4. package/dist/errors.d.ts +5 -0
  5. package/dist/errors.d.ts.map +1 -1
  6. package/dist/index.cjs +2 -2
  7. package/dist/index.cjs.map +6 -6
  8. package/dist/index.js +2 -2
  9. package/dist/index.js.map +6 -6
  10. package/dist/utils/protocolMeta.d.ts +1 -0
  11. package/dist/utils/protocolMeta.d.ts.map +1 -1
  12. package/docs/ActionCodesProtocol/README.md +2 -2
  13. package/docs/ActionCodesProtocol/classes/ActionCodesProtocol.md +183 -33
  14. package/docs/README.md +425 -8
  15. package/docs/adapters/BaseChainAdapter/README.md +3 -4
  16. package/docs/adapters/BaseChainAdapter/classes/BaseChainAdapter.md +87 -20
  17. package/docs/adapters/BaseChainAdapter/interfaces/ChainAdapter.md +68 -12
  18. package/docs/adapters/BaseChainAdapter/type-aliases/SignFn.md +25 -0
  19. package/docs/adapters/SolanaAdapter/README.md +6 -3
  20. package/docs/adapters/SolanaAdapter/classes/SolanaAdapter.md +140 -43
  21. package/docs/adapters/SolanaAdapter/type-aliases/SolanaTransaction.md +3 -3
  22. package/docs/adapters/SolanaAdapter/variables/ADAPTER_CHAIN_NAME.md +11 -0
  23. package/docs/constants/README.md +2 -2
  24. package/docs/constants/variables/CODE_CHARSET_DIGITS.md +2 -2
  25. package/docs/constants/variables/CODE_DEFAULT_LENGTH.md +2 -2
  26. package/docs/constants/variables/CODE_MAX_LENGTH.md +2 -2
  27. package/docs/constants/variables/CODE_MIN_LENGTH.md +2 -2
  28. package/docs/constants/variables/PROTOCOL_META_MAX_BYTES.md +3 -3
  29. package/docs/constants/variables/PROTOCOL_NORMALIZATION.md +2 -2
  30. package/docs/constants/variables/SUPPORTED_CHAINS.md +9 -3
  31. package/docs/errors/README.md +4 -2
  32. package/docs/errors/classes/ExpiredCodeError.md +85 -21
  33. package/docs/errors/classes/InvalidAdapterError.md +751 -0
  34. package/docs/errors/classes/InvalidCodeFormatError.md +85 -21
  35. package/docs/errors/classes/InvalidPubkeyFormatError.md +85 -21
  36. package/docs/errors/classes/InvalidSignatureError.md +85 -21
  37. package/docs/errors/classes/MetaMismatchError.md +85 -21
  38. package/docs/errors/classes/MissingMetaError.md +85 -21
  39. package/docs/errors/classes/ProtocolError.md +75 -21
  40. package/docs/errors/classes/TransactionNotSignedByIntendedOwnerError.md +85 -21
  41. package/docs/errors/classes/TransactionNotSignedByIssuerError.md +755 -0
  42. package/docs/errors/enumerations/ProtocolErrorCode.md +39 -15
  43. package/docs/index/README.md +170 -14
  44. package/docs/modules.md +3 -3
  45. package/docs/strategy/DelegationStrategy/README.md +11 -0
  46. package/docs/strategy/DelegationStrategy/classes/DelegationStrategy.md +79 -0
  47. package/docs/strategy/WalletStrategy/README.md +2 -2
  48. package/docs/strategy/WalletStrategy/classes/WalletStrategy.md +22 -18
  49. package/docs/types/README.md +11 -3
  50. package/docs/types/interfaces/ActionCode.md +23 -26
  51. package/docs/types/interfaces/ActionCodeRevoke.md +93 -0
  52. package/docs/types/interfaces/CanonicalMessageParts.md +5 -13
  53. package/docs/types/interfaces/CanonicalRevokeMessageParts.md +33 -0
  54. package/docs/types/interfaces/CodeGenerationConfig.md +6 -6
  55. package/docs/types/interfaces/DelegatedActionCode.md +97 -0
  56. package/docs/types/interfaces/DelegatedActionCodeRevoke.md +105 -0
  57. package/docs/types/interfaces/DelegationProof.md +49 -0
  58. package/docs/types/type-aliases/Chain.md +11 -0
  59. package/docs/utils/canonical/README.md +6 -2
  60. package/docs/utils/canonical/functions/getCanonicalMessageParts.md +21 -0
  61. package/docs/utils/canonical/functions/serializeCanonical.md +3 -3
  62. package/docs/utils/canonical/functions/serializeCanonicalRevoke.md +21 -0
  63. package/docs/utils/canonical/functions/serializeDelegationProof.md +21 -0
  64. package/docs/utils/canonical/variables/CANONICAL_MESSAGE_PREFIX.md +3 -3
  65. package/docs/utils/canonical/variables/CANONICAL_MESSAGE_VERSION.md +3 -3
  66. package/docs/utils/canonical/variables/CANONICAL_REVOKE_MESSAGE_PREFIX.md +11 -0
  67. package/docs/utils/crypto/README.md +2 -3
  68. package/docs/utils/crypto/functions/base32EncodeCrockford.md +2 -2
  69. package/docs/utils/crypto/functions/codeHash.md +2 -2
  70. package/docs/utils/crypto/functions/digestToDigits.md +2 -2
  71. package/docs/utils/crypto/functions/hkdfSha256.md +2 -2
  72. package/docs/utils/crypto/functions/hmacSha256.md +2 -2
  73. package/docs/utils/crypto/functions/sha256.md +2 -2
  74. package/docs/utils/crypto/functions/truncateBits.md +2 -2
  75. package/docs/utils/protocolMeta/README.md +2 -2
  76. package/docs/utils/protocolMeta/functions/buildProtocolMeta.md +3 -3
  77. package/docs/utils/protocolMeta/functions/parseProtocolMeta.md +3 -3
  78. package/docs/utils/protocolMeta/functions/validateProtocolMetaFormat.md +3 -3
  79. package/docs/utils/protocolMeta/interfaces/ProtocolMetaFields.md +11 -3
  80. package/docs/utils/protocolMeta/variables/SCHEME.md +3 -3
  81. package/package.json +7 -7
  82. package/docs/adapters/BaseChainAdapter/interfaces/BaseContext.md +0 -17
  83. package/docs/adapters/BaseChainAdapter/type-aliases/ChainContext.md +0 -23
  84. package/docs/adapters/NodeCryptoAdapter/README.md +0 -15
  85. package/docs/adapters/NodeCryptoAdapter/classes/NodeCryptoAdapter.md +0 -254
  86. package/docs/adapters/NodeCryptoAdapter/type-aliases/NodeCryptoContext.md +0 -27
  87. package/docs/adapters/SolanaAdapter/type-aliases/SolanaContext.md +0 -27
  88. package/docs/types/interfaces/CodeGenerationResult.md +0 -25
  89. package/docs/utils/crypto/functions/generateRandomSecret.md +0 -15
@@ -1,12 +1,12 @@
1
- [**@actioncodes/protocol-v2**](../../README.md)
1
+ [**@actioncodes/protocol**](../../README.md)
2
2
 
3
3
  ***
4
4
 
5
- [@actioncodes/protocol-v2](../../modules.md) / [errors](../README.md) / MissingMetaError
5
+ [@actioncodes/protocol](../../modules.md) / [errors](../README.md) / MissingMetaError
6
6
 
7
7
  # Class: MissingMetaError
8
8
 
9
- Defined in: src/errors.ts:144
9
+ Defined in: src/errors.ts:166
10
10
 
11
11
  ## Extends
12
12
 
@@ -18,7 +18,7 @@ Defined in: src/errors.ts:144
18
18
 
19
19
  > **new MissingMetaError**(): `MissingMetaError`
20
20
 
21
- Defined in: src/errors.ts:145
21
+ Defined in: src/errors.ts:167
22
22
 
23
23
  #### Returns
24
24
 
@@ -48,7 +48,7 @@ The cause of the error.
48
48
 
49
49
  > `readonly` **code**: [`ProtocolErrorCode`](../enumerations/ProtocolErrorCode.md)
50
50
 
51
- Defined in: src/errors.ts:29
51
+ Defined in: src/errors.ts:34
52
52
 
53
53
  #### Inherited from
54
54
 
@@ -60,7 +60,7 @@ Defined in: src/errors.ts:29
60
60
 
61
61
  > `readonly` `optional` **details**: `Record`\<`string`, `unknown`\>
62
62
 
63
- Defined in: src/errors.ts:31
63
+ Defined in: src/errors.ts:36
64
64
 
65
65
  #### Inherited from
66
66
 
@@ -228,7 +228,7 @@ Create .stack property on a target object
228
228
 
229
229
  > `static` **create**(`code`, `message`, `details?`): [`ProtocolError`](ProtocolError.md)
230
230
 
231
- Defined in: src/errors.ts:127
231
+ Defined in: src/errors.ts:149
232
232
 
233
233
  #### Parameters
234
234
 
@@ -258,7 +258,7 @@ Defined in: src/errors.ts:127
258
258
 
259
259
  > `static` **cryptoError**(`operation`, `reason`): [`ProtocolError`](ProtocolError.md)
260
260
 
261
- Defined in: src/errors.ts:110
261
+ Defined in: src/errors.ts:127
262
262
 
263
263
  #### Parameters
264
264
 
@@ -284,7 +284,7 @@ Defined in: src/errors.ts:110
284
284
 
285
285
  > `static` **expiredCode**(`code`, `expiresAt`, `currentTime`): [`ExpiredCodeError`](ExpiredCodeError.md)
286
286
 
287
- Defined in: src/errors.ts:38
287
+ Defined in: src/errors.ts:43
288
288
 
289
289
  #### Parameters
290
290
 
@@ -310,11 +310,49 @@ Defined in: src/errors.ts:38
310
310
 
311
311
  ***
312
312
 
313
+ ### invalidAdapter()
314
+
315
+ > `static` **invalidAdapter**(`adapter`): [`InvalidAdapterError`](InvalidAdapterError.md)
316
+
317
+ Defined in: src/errors.ts:144
318
+
319
+ #### Parameters
320
+
321
+ ##### adapter
322
+
323
+ `string`
324
+
325
+ #### Returns
326
+
327
+ [`InvalidAdapterError`](InvalidAdapterError.md)
328
+
329
+ #### Inherited from
330
+
331
+ [`ProtocolError`](ProtocolError.md).[`invalidAdapter`](ProtocolError.md#invalidadapter)
332
+
333
+ ***
334
+
335
+ ### invalidCode()
336
+
337
+ > `static` **invalidCode**(): [`ProtocolError`](ProtocolError.md)
338
+
339
+ Defined in: src/errors.ts:47
340
+
341
+ #### Returns
342
+
343
+ [`ProtocolError`](ProtocolError.md)
344
+
345
+ #### Inherited from
346
+
347
+ [`ProtocolError`](ProtocolError.md).[`invalidCode`](ProtocolError.md#invalidcode)
348
+
349
+ ***
350
+
313
351
  ### invalidCodeFormat()
314
352
 
315
353
  > `static` **invalidCodeFormat**(`code`, `reason`): [`InvalidCodeFormatError`](InvalidCodeFormatError.md)
316
354
 
317
- Defined in: src/errors.ts:42
355
+ Defined in: src/errors.ts:55
318
356
 
319
357
  #### Parameters
320
358
 
@@ -340,7 +378,7 @@ Defined in: src/errors.ts:42
340
378
 
341
379
  > `static` **invalidDigest**(`reason`): [`ProtocolError`](ProtocolError.md)
342
380
 
343
- Defined in: src/errors.ts:118
381
+ Defined in: src/errors.ts:135
344
382
 
345
383
  #### Parameters
346
384
 
@@ -362,7 +400,7 @@ Defined in: src/errors.ts:118
362
400
 
363
401
  > `static` **invalidInput**(`field`, `value`, `reason`): [`ProtocolError`](ProtocolError.md)
364
402
 
365
- Defined in: src/errors.ts:93
403
+ Defined in: src/errors.ts:110
366
404
 
367
405
  #### Parameters
368
406
 
@@ -392,7 +430,7 @@ Defined in: src/errors.ts:93
392
430
 
393
431
  > `static` **invalidMetaFormat**(`reason`): [`ProtocolError`](ProtocolError.md)
394
432
 
395
- Defined in: src/errors.ts:55
433
+ Defined in: src/errors.ts:68
396
434
 
397
435
  #### Parameters
398
436
 
@@ -414,7 +452,7 @@ Defined in: src/errors.ts:55
414
452
 
415
453
  > `static` **invalidPubkeyFormat**(`pubkey`, `reason`): [`InvalidPubkeyFormatError`](InvalidPubkeyFormatError.md)
416
454
 
417
- Defined in: src/errors.ts:88
455
+ Defined in: src/errors.ts:105
418
456
 
419
457
  #### Parameters
420
458
 
@@ -440,7 +478,7 @@ Defined in: src/errors.ts:88
440
478
 
441
479
  > `static` **invalidSignature**(`reason`): [`InvalidSignatureError`](InvalidSignatureError.md)
442
480
 
443
- Defined in: src/errors.ts:46
481
+ Defined in: src/errors.ts:59
444
482
 
445
483
  #### Parameters
446
484
 
@@ -462,7 +500,7 @@ Defined in: src/errors.ts:46
462
500
 
463
501
  > `static` **invalidTransactionFormat**(`reason`): [`ProtocolError`](ProtocolError.md)
464
502
 
465
- Defined in: src/errors.ts:80
503
+ Defined in: src/errors.ts:97
466
504
 
467
505
  #### Parameters
468
506
 
@@ -536,7 +574,7 @@ True if the value is an instance of Error, false otherwise
536
574
 
537
575
  > `static` **metaMismatch**(`expected`, `actual`, `field`): [`MetaMismatchError`](MetaMismatchError.md)
538
576
 
539
- Defined in: src/errors.ts:63
577
+ Defined in: src/errors.ts:76
540
578
 
541
579
  #### Parameters
542
580
 
@@ -566,7 +604,7 @@ Defined in: src/errors.ts:63
566
604
 
567
605
  > `static` **metaTooLarge**(`maxBytes`, `actualBytes`): [`ProtocolError`](ProtocolError.md)
568
606
 
569
- Defined in: src/errors.ts:67
607
+ Defined in: src/errors.ts:80
570
608
 
571
609
  #### Parameters
572
610
 
@@ -592,7 +630,7 @@ Defined in: src/errors.ts:67
592
630
 
593
631
  > `static` **missingMeta**(): `MissingMetaError`
594
632
 
595
- Defined in: src/errors.ts:51
633
+ Defined in: src/errors.ts:64
596
634
 
597
635
  #### Returns
598
636
 
@@ -608,7 +646,7 @@ Defined in: src/errors.ts:51
608
646
 
609
647
  > `static` **missingRequiredField**(`field`): [`ProtocolError`](ProtocolError.md)
610
648
 
611
- Defined in: src/errors.ts:101
649
+ Defined in: src/errors.ts:118
612
650
 
613
651
  #### Parameters
614
652
 
@@ -660,7 +698,7 @@ https://v8.dev/docs/stack-trace-api#customizing-stack-traces
660
698
 
661
699
  > `static` **transactionNotSignedByIntendedOwner**(`intended`, `actualSigners`): [`TransactionNotSignedByIntendedOwnerError`](TransactionNotSignedByIntendedOwnerError.md)
662
700
 
663
- Defined in: src/errors.ts:76
701
+ Defined in: src/errors.ts:89
664
702
 
665
703
  #### Parameters
666
704
 
@@ -679,3 +717,29 @@ Defined in: src/errors.ts:76
679
717
  #### Inherited from
680
718
 
681
719
  [`ProtocolError`](ProtocolError.md).[`transactionNotSignedByIntendedOwner`](ProtocolError.md#transactionnotsignedbyintendedowner)
720
+
721
+ ***
722
+
723
+ ### transactionNotSignedByIssuer()
724
+
725
+ > `static` **transactionNotSignedByIssuer**(`issuer`, `actualSigners`): [`TransactionNotSignedByIssuerError`](TransactionNotSignedByIssuerError.md)
726
+
727
+ Defined in: src/errors.ts:93
728
+
729
+ #### Parameters
730
+
731
+ ##### issuer
732
+
733
+ `string`
734
+
735
+ ##### actualSigners
736
+
737
+ `string`[]
738
+
739
+ #### Returns
740
+
741
+ [`TransactionNotSignedByIssuerError`](TransactionNotSignedByIssuerError.md)
742
+
743
+ #### Inherited from
744
+
745
+ [`ProtocolError`](ProtocolError.md).[`transactionNotSignedByIssuer`](ProtocolError.md#transactionnotsignedbyissuer)
@@ -1,12 +1,12 @@
1
- [**@actioncodes/protocol-v2**](../../README.md)
1
+ [**@actioncodes/protocol**](../../README.md)
2
2
 
3
3
  ***
4
4
 
5
- [@actioncodes/protocol-v2](../../modules.md) / [errors](../README.md) / ProtocolError
5
+ [@actioncodes/protocol](../../modules.md) / [errors](../README.md) / ProtocolError
6
6
 
7
7
  # Class: ProtocolError
8
8
 
9
- Defined in: src/errors.ts:27
9
+ Defined in: src/errors.ts:32
10
10
 
11
11
  ## Extends
12
12
 
@@ -18,9 +18,11 @@ Defined in: src/errors.ts:27
18
18
  - [`MissingMetaError`](MissingMetaError.md)
19
19
  - [`MetaMismatchError`](MetaMismatchError.md)
20
20
  - [`TransactionNotSignedByIntendedOwnerError`](TransactionNotSignedByIntendedOwnerError.md)
21
+ - [`TransactionNotSignedByIssuerError`](TransactionNotSignedByIssuerError.md)
21
22
  - [`InvalidPubkeyFormatError`](InvalidPubkeyFormatError.md)
22
23
  - [`InvalidSignatureError`](InvalidSignatureError.md)
23
24
  - [`InvalidCodeFormatError`](InvalidCodeFormatError.md)
25
+ - [`InvalidAdapterError`](InvalidAdapterError.md)
24
26
 
25
27
  ## Constructors
26
28
 
@@ -28,7 +30,7 @@ Defined in: src/errors.ts:27
28
30
 
29
31
  > **new ProtocolError**(`code`, `message`, `details?`): `ProtocolError`
30
32
 
31
- Defined in: src/errors.ts:28
33
+ Defined in: src/errors.ts:33
32
34
 
33
35
  #### Parameters
34
36
 
@@ -72,7 +74,7 @@ The cause of the error.
72
74
 
73
75
  > `readonly` **code**: [`ProtocolErrorCode`](../enumerations/ProtocolErrorCode.md)
74
76
 
75
- Defined in: src/errors.ts:29
77
+ Defined in: src/errors.ts:34
76
78
 
77
79
  ***
78
80
 
@@ -80,7 +82,7 @@ Defined in: src/errors.ts:29
80
82
 
81
83
  > `readonly` `optional` **details**: `Record`\<`string`, `unknown`\>
82
84
 
83
- Defined in: src/errors.ts:31
85
+ Defined in: src/errors.ts:36
84
86
 
85
87
  ***
86
88
 
@@ -244,7 +246,7 @@ Create .stack property on a target object
244
246
 
245
247
  > `static` **create**(`code`, `message`, `details?`): `ProtocolError`
246
248
 
247
- Defined in: src/errors.ts:127
249
+ Defined in: src/errors.ts:149
248
250
 
249
251
  #### Parameters
250
252
 
@@ -270,7 +272,7 @@ Defined in: src/errors.ts:127
270
272
 
271
273
  > `static` **cryptoError**(`operation`, `reason`): `ProtocolError`
272
274
 
273
- Defined in: src/errors.ts:110
275
+ Defined in: src/errors.ts:127
274
276
 
275
277
  #### Parameters
276
278
 
@@ -292,7 +294,7 @@ Defined in: src/errors.ts:110
292
294
 
293
295
  > `static` **expiredCode**(`code`, `expiresAt`, `currentTime`): [`ExpiredCodeError`](ExpiredCodeError.md)
294
296
 
295
- Defined in: src/errors.ts:38
297
+ Defined in: src/errors.ts:43
296
298
 
297
299
  #### Parameters
298
300
 
@@ -314,11 +316,41 @@ Defined in: src/errors.ts:38
314
316
 
315
317
  ***
316
318
 
319
+ ### invalidAdapter()
320
+
321
+ > `static` **invalidAdapter**(`adapter`): [`InvalidAdapterError`](InvalidAdapterError.md)
322
+
323
+ Defined in: src/errors.ts:144
324
+
325
+ #### Parameters
326
+
327
+ ##### adapter
328
+
329
+ `string`
330
+
331
+ #### Returns
332
+
333
+ [`InvalidAdapterError`](InvalidAdapterError.md)
334
+
335
+ ***
336
+
337
+ ### invalidCode()
338
+
339
+ > `static` **invalidCode**(): `ProtocolError`
340
+
341
+ Defined in: src/errors.ts:47
342
+
343
+ #### Returns
344
+
345
+ `ProtocolError`
346
+
347
+ ***
348
+
317
349
  ### invalidCodeFormat()
318
350
 
319
351
  > `static` **invalidCodeFormat**(`code`, `reason`): [`InvalidCodeFormatError`](InvalidCodeFormatError.md)
320
352
 
321
- Defined in: src/errors.ts:42
353
+ Defined in: src/errors.ts:55
322
354
 
323
355
  #### Parameters
324
356
 
@@ -340,7 +372,7 @@ Defined in: src/errors.ts:42
340
372
 
341
373
  > `static` **invalidDigest**(`reason`): `ProtocolError`
342
374
 
343
- Defined in: src/errors.ts:118
375
+ Defined in: src/errors.ts:135
344
376
 
345
377
  #### Parameters
346
378
 
@@ -358,7 +390,7 @@ Defined in: src/errors.ts:118
358
390
 
359
391
  > `static` **invalidInput**(`field`, `value`, `reason`): `ProtocolError`
360
392
 
361
- Defined in: src/errors.ts:93
393
+ Defined in: src/errors.ts:110
362
394
 
363
395
  #### Parameters
364
396
 
@@ -384,7 +416,7 @@ Defined in: src/errors.ts:93
384
416
 
385
417
  > `static` **invalidMetaFormat**(`reason`): `ProtocolError`
386
418
 
387
- Defined in: src/errors.ts:55
419
+ Defined in: src/errors.ts:68
388
420
 
389
421
  #### Parameters
390
422
 
@@ -402,7 +434,7 @@ Defined in: src/errors.ts:55
402
434
 
403
435
  > `static` **invalidPubkeyFormat**(`pubkey`, `reason`): [`InvalidPubkeyFormatError`](InvalidPubkeyFormatError.md)
404
436
 
405
- Defined in: src/errors.ts:88
437
+ Defined in: src/errors.ts:105
406
438
 
407
439
  #### Parameters
408
440
 
@@ -424,7 +456,7 @@ Defined in: src/errors.ts:88
424
456
 
425
457
  > `static` **invalidSignature**(`reason`): [`InvalidSignatureError`](InvalidSignatureError.md)
426
458
 
427
- Defined in: src/errors.ts:46
459
+ Defined in: src/errors.ts:59
428
460
 
429
461
  #### Parameters
430
462
 
@@ -442,7 +474,7 @@ Defined in: src/errors.ts:46
442
474
 
443
475
  > `static` **invalidTransactionFormat**(`reason`): `ProtocolError`
444
476
 
445
- Defined in: src/errors.ts:80
477
+ Defined in: src/errors.ts:97
446
478
 
447
479
  #### Parameters
448
480
 
@@ -512,7 +544,7 @@ True if the value is an instance of Error, false otherwise
512
544
 
513
545
  > `static` **metaMismatch**(`expected`, `actual`, `field`): [`MetaMismatchError`](MetaMismatchError.md)
514
546
 
515
- Defined in: src/errors.ts:63
547
+ Defined in: src/errors.ts:76
516
548
 
517
549
  #### Parameters
518
550
 
@@ -538,7 +570,7 @@ Defined in: src/errors.ts:63
538
570
 
539
571
  > `static` **metaTooLarge**(`maxBytes`, `actualBytes`): `ProtocolError`
540
572
 
541
- Defined in: src/errors.ts:67
573
+ Defined in: src/errors.ts:80
542
574
 
543
575
  #### Parameters
544
576
 
@@ -560,7 +592,7 @@ Defined in: src/errors.ts:67
560
592
 
561
593
  > `static` **missingMeta**(): [`MissingMetaError`](MissingMetaError.md)
562
594
 
563
- Defined in: src/errors.ts:51
595
+ Defined in: src/errors.ts:64
564
596
 
565
597
  #### Returns
566
598
 
@@ -572,7 +604,7 @@ Defined in: src/errors.ts:51
572
604
 
573
605
  > `static` **missingRequiredField**(`field`): `ProtocolError`
574
606
 
575
- Defined in: src/errors.ts:101
607
+ Defined in: src/errors.ts:118
576
608
 
577
609
  #### Parameters
578
610
 
@@ -620,7 +652,7 @@ https://v8.dev/docs/stack-trace-api#customizing-stack-traces
620
652
 
621
653
  > `static` **transactionNotSignedByIntendedOwner**(`intended`, `actualSigners`): [`TransactionNotSignedByIntendedOwnerError`](TransactionNotSignedByIntendedOwnerError.md)
622
654
 
623
- Defined in: src/errors.ts:76
655
+ Defined in: src/errors.ts:89
624
656
 
625
657
  #### Parameters
626
658
 
@@ -635,3 +667,25 @@ Defined in: src/errors.ts:76
635
667
  #### Returns
636
668
 
637
669
  [`TransactionNotSignedByIntendedOwnerError`](TransactionNotSignedByIntendedOwnerError.md)
670
+
671
+ ***
672
+
673
+ ### transactionNotSignedByIssuer()
674
+
675
+ > `static` **transactionNotSignedByIssuer**(`issuer`, `actualSigners`): [`TransactionNotSignedByIssuerError`](TransactionNotSignedByIssuerError.md)
676
+
677
+ Defined in: src/errors.ts:93
678
+
679
+ #### Parameters
680
+
681
+ ##### issuer
682
+
683
+ `string`
684
+
685
+ ##### actualSigners
686
+
687
+ `string`[]
688
+
689
+ #### Returns
690
+
691
+ [`TransactionNotSignedByIssuerError`](TransactionNotSignedByIssuerError.md)