@airgap/module-kit 0.13.13 → 0.13.14-beta.1
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/index.d.ts +4 -3
- package/index.js +22 -1
- package/index.js.map +1 -1
- package/internal/index.d.ts +4 -1
- package/internal/index.js +4 -0
- package/internal/index.js.map +1 -1
- package/internal/{AirGapDelegateProtocol.d.ts → protocol/AirGapDelegateProtocol.d.ts} +2 -2
- package/internal/protocol/AirGapDelegateProtocol.js.map +1 -0
- package/internal/utils/protocol.d.ts +5 -0
- package/internal/utils/protocol.js +24 -0
- package/internal/utils/protocol.js.map +1 -0
- package/module/module.d.ts +8 -5
- package/package.json +1 -1
- package/protocol/extensions/address/MultiAddressPublicKeyExtension.d.ts +1 -0
- package/protocol/protocol.d.ts +4 -4
- package/types/meta/utility-types.d.ts +1 -0
- package/types/protocol.d.ts +1 -0
- package/types/transaction.d.ts +4 -2
- package/utils/protocol.d.ts +33 -11
- package/utils/protocol.js +42 -41
- package/utils/protocol.js.map +1 -1
- package/internal/AirGapDelegateProtocol.js.map +0 -1
- /package/internal/{AirGapDelegateProtocol.js → protocol/AirGapDelegateProtocol.js} +0 -0
package/index.d.ts
CHANGED
|
@@ -35,7 +35,7 @@ import { ProtocolAccountMetadata, ProtocolFeeMetadata, ProtocolMetadata, Protoco
|
|
|
35
35
|
import { V3SchemaConfiguration } from './types/serializer';
|
|
36
36
|
import { Signature } from './types/signature';
|
|
37
37
|
import { SubProtocolType } from './types/sub-protocol';
|
|
38
|
-
import { AirGapTransaction, AirGapTransactionStatus, AirGapTransactionsWithCursor, SignedTransaction,
|
|
38
|
+
import { AirGapTransaction, AirGapTransactionStatus, AirGapTransactionsWithCursor, SignedTransaction, TransactionSimpleConfiguration, TransactionCursor, TransactionDetails, TransactionType, UnsignedTransaction, TransactionFullConfiguration } from './types/transaction';
|
|
39
39
|
import { AirGapUIAction } from './types/ui/action';
|
|
40
40
|
import { AirGapUIAlert } from './types/ui/alert';
|
|
41
41
|
import { AirGapUIText } from './types/ui/text';
|
|
@@ -44,12 +44,13 @@ import { implementsInterface, Schema } from './utils/interface';
|
|
|
44
44
|
import { isAnyKey, isExtendedPublicKey, isExtendedSecretKey, isPublicKey, isSecretKey } from './utils/key';
|
|
45
45
|
import { createSupportedProtocols } from './utils/module';
|
|
46
46
|
import { normalizeToUndefined } from './utils/normalize';
|
|
47
|
-
import { canEncryptAES, canEncryptAsymmetric, canFetchDataForAddress, canFetchDataForMultipleAddresses, canSignMessage, hasConfigurableContract, hasConfigurableTransactionInjector, hasMultiAddressPublicKeys, isBip32Protocol, isMultiTokenSubProtocol, isOfflineProtocol, isOnlineProtocol, isSingleTokenSubProtocol, isSubProtocol, isTransactionStatusChecker, protocolNetworkIdentifier } from './utils/protocol';
|
|
47
|
+
import { aesEncryptionSchema, asymmetricEncryptionBaseSchema, asymmetricEncryptionOfflineSchema, baseProtocolSchema, bip32BaseProtocolSchema, bip32OfflineProtocolSchema, bip32OnlineProtocolSchema, canEncryptAES, canEncryptAsymmetric, canFetchDataForAddress, canFetchDataForMultipleAddresses, canSignMessage, configurableContractProtocolSchema, configurableTransactionInjectorSchema, fetchDataForAddressProtocolSchema, fetchDataForMultipleAddressesProtocolSchema, hasConfigurableContract, hasConfigurableTransactionInjector, hasMultiAddressPublicKeys, isBip32Protocol, isMultiTokenSubProtocol, isOfflineProtocol, isOnlineProtocol, isSingleTokenSubProtocol, isSubProtocol, isTransactionStatusChecker, multiAddressPublicKeyProtocolSchema, multiTokenSubProtocolBaseSchema, offlineProtocolSchema, onlineProtocolSchema, protocolNetworkIdentifier, signMessageBaseSchema, signMessageOfflineSchema, singleTokenSubProtocolSchema, subProtocolSchema, transactionStatusCheckerSchema } from './utils/protocol';
|
|
48
48
|
export { AirGapBlockExplorer, BlockExplorerMetadata };
|
|
49
49
|
export { newSuccessUIAlert, newInfoUIAlert, newWarningUIAlert, newErrorUIAlert, newPlainUIText, newAmount, newSecretKey, newExtendedSecretKey, newPublicKey, newExtendedPublicKey, newSignature, newUnsignedTransaction, newSignedTransaction };
|
|
50
50
|
export { AirGapModule, ModuleNetworkRegistry, ProtocolConfiguration, OfflineProtocolConfiguration, OnlineProtocolConfiguration, FullProtocolConfiguration };
|
|
51
51
|
export { AirGapOfflineProtocol, AirGapOnlineProtocol, AirGapProtocol, AirGapAnyProtocol, FetchDataForMultipleAddressesExtension, FetchDataForMultipleAddressesProtocol, MultiAddressPublicKeyExtension, MultiAddressPublicKeyProtocol, Bip32Extension, OfflineBip32Protocol, OnlineBip32Protocol, SubProtocolExtension, SubProtocol, SingleTokenSubProtocolExtension, SingleTokenSubProtocol, MultiTokenSubProtocolExtension, BaseMultiTokenSubProtocol, OnlineMultiTokenSubProtocol, CryptoExtension, AESExtension, AsymmetricEncryptionExtension, SignMessageExtension, TransactionStatusCheckerExtension, ProtocolMetadata, ProtocolUnitsMetadata, ProtocolSymbol, ProtocolFeeMetadata, ProtocolAccountMetadata, ProtocolTransactionMetadata, ProtocolNetworkType, ProtocolNetwork, SubProtocolType };
|
|
52
52
|
export { AirGapV3SerializerCompanion, V3SchemaConfiguration };
|
|
53
53
|
export { AirGapInterface };
|
|
54
|
-
export { AirGapUIAction, AirGapUIAlert, AirGapUIText, Address, AddressCursor, AddressWithCursor, Amount, Balance, MultiTokenBalanceConfiguration, BytesStringFormat, BytesString, HexString, CryptoAlgorithm, CryptoSecretType, Ed25519CryptoConfiguration, Sr25519CryptoConfiguration, Secp256K1CryptoConfiguration, SaplingCryptoConfiguration, CryptoConfiguration, CryptoDerivative, FeeDefaults, FeeEstimation, KeyType, SecretKey, ExtendedSecretKey, PublicKey, ExtendedPublicKey, KeyPair, ExtendedKeyPair, Signature, TransactionType, UnsignedTransaction, SignedTransaction, AirGapTransaction, TransactionCursor, AirGapTransactionsWithCursor, TransactionDetails,
|
|
54
|
+
export { AirGapUIAction, AirGapUIAlert, AirGapUIText, Address, AddressCursor, AddressWithCursor, Amount, Balance, MultiTokenBalanceConfiguration, BytesStringFormat, BytesString, HexString, CryptoAlgorithm, CryptoSecretType, Ed25519CryptoConfiguration, Sr25519CryptoConfiguration, Secp256K1CryptoConfiguration, SaplingCryptoConfiguration, CryptoConfiguration, CryptoDerivative, FeeDefaults, FeeEstimation, KeyType, SecretKey, ExtendedSecretKey, PublicKey, ExtendedPublicKey, KeyPair, ExtendedKeyPair, Signature, TransactionType, UnsignedTransaction, SignedTransaction, AirGapTransaction, TransactionCursor, AirGapTransactionsWithCursor, TransactionDetails, TransactionSimpleConfiguration, TransactionFullConfiguration, AirGapTransactionStatus, RecursivePartial };
|
|
55
55
|
export { isAmount, Schema, implementsInterface, isAnyKey, isSecretKey, isExtendedSecretKey, isPublicKey, isExtendedPublicKey, createSupportedProtocols, isOfflineProtocol, isOnlineProtocol, isBip32Protocol, isSubProtocol, isSingleTokenSubProtocol, isMultiTokenSubProtocol, canFetchDataForAddress, canFetchDataForMultipleAddresses, hasMultiAddressPublicKeys, hasConfigurableContract, canEncryptAES, canEncryptAsymmetric, canSignMessage, hasConfigurableTransactionInjector, isTransactionStatusChecker, protocolNetworkIdentifier, normalizeToUndefined };
|
|
56
|
+
export { baseProtocolSchema, offlineProtocolSchema, onlineProtocolSchema, bip32BaseProtocolSchema, bip32OfflineProtocolSchema, bip32OnlineProtocolSchema, subProtocolSchema, singleTokenSubProtocolSchema, multiTokenSubProtocolBaseSchema, fetchDataForAddressProtocolSchema, fetchDataForMultipleAddressesProtocolSchema, multiAddressPublicKeyProtocolSchema, configurableContractProtocolSchema, aesEncryptionSchema, asymmetricEncryptionBaseSchema, asymmetricEncryptionOfflineSchema, signMessageBaseSchema, signMessageOfflineSchema, configurableTransactionInjectorSchema, transactionStatusCheckerSchema };
|
package/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.normalizeToUndefined = exports.protocolNetworkIdentifier = exports.isTransactionStatusChecker = exports.hasConfigurableTransactionInjector = exports.canSignMessage = exports.canEncryptAsymmetric = exports.canEncryptAES = exports.hasConfigurableContract = exports.hasMultiAddressPublicKeys = exports.canFetchDataForMultipleAddresses = exports.canFetchDataForAddress = exports.isMultiTokenSubProtocol = exports.isSingleTokenSubProtocol = exports.isSubProtocol = exports.isBip32Protocol = exports.isOnlineProtocol = exports.isOfflineProtocol = exports.createSupportedProtocols = exports.isExtendedPublicKey = exports.isPublicKey = exports.isExtendedSecretKey = exports.isSecretKey = exports.isAnyKey = exports.implementsInterface = exports.isAmount = exports.ModuleNetworkRegistry = exports.newSignedTransaction = exports.newUnsignedTransaction = exports.newSignature = exports.newExtendedPublicKey = exports.newPublicKey = exports.newExtendedSecretKey = exports.newSecretKey = exports.newAmount = exports.newPlainUIText = exports.newErrorUIAlert = exports.newWarningUIAlert = exports.newInfoUIAlert = exports.newSuccessUIAlert = void 0;
|
|
3
|
+
exports.fetchDataForMultipleAddressesProtocolSchema = exports.fetchDataForAddressProtocolSchema = exports.multiTokenSubProtocolBaseSchema = exports.singleTokenSubProtocolSchema = exports.subProtocolSchema = exports.bip32OnlineProtocolSchema = exports.bip32OfflineProtocolSchema = exports.bip32BaseProtocolSchema = exports.onlineProtocolSchema = exports.offlineProtocolSchema = exports.baseProtocolSchema = exports.normalizeToUndefined = exports.protocolNetworkIdentifier = exports.isTransactionStatusChecker = exports.hasConfigurableTransactionInjector = exports.canSignMessage = exports.canEncryptAsymmetric = exports.canEncryptAES = exports.hasConfigurableContract = exports.hasMultiAddressPublicKeys = exports.canFetchDataForMultipleAddresses = exports.canFetchDataForAddress = exports.isMultiTokenSubProtocol = exports.isSingleTokenSubProtocol = exports.isSubProtocol = exports.isBip32Protocol = exports.isOnlineProtocol = exports.isOfflineProtocol = exports.createSupportedProtocols = exports.isExtendedPublicKey = exports.isPublicKey = exports.isExtendedSecretKey = exports.isSecretKey = exports.isAnyKey = exports.implementsInterface = exports.isAmount = exports.ModuleNetworkRegistry = exports.newSignedTransaction = exports.newUnsignedTransaction = exports.newSignature = exports.newExtendedPublicKey = exports.newPublicKey = exports.newExtendedSecretKey = exports.newSecretKey = exports.newAmount = exports.newPlainUIText = exports.newErrorUIAlert = exports.newWarningUIAlert = exports.newInfoUIAlert = exports.newSuccessUIAlert = void 0;
|
|
4
|
+
exports.transactionStatusCheckerSchema = exports.configurableTransactionInjectorSchema = exports.signMessageOfflineSchema = exports.signMessageBaseSchema = exports.asymmetricEncryptionOfflineSchema = exports.asymmetricEncryptionBaseSchema = exports.aesEncryptionSchema = exports.configurableContractProtocolSchema = exports.multiAddressPublicKeyProtocolSchema = void 0;
|
|
4
5
|
var amount_1 = require("./factories/amount");
|
|
5
6
|
Object.defineProperty(exports, "newAmount", { enumerable: true, get: function () { return amount_1.newAmount; } });
|
|
6
7
|
var key_1 = require("./factories/key");
|
|
@@ -37,11 +38,22 @@ Object.defineProperty(exports, "createSupportedProtocols", { enumerable: true, g
|
|
|
37
38
|
var normalize_1 = require("./utils/normalize");
|
|
38
39
|
Object.defineProperty(exports, "normalizeToUndefined", { enumerable: true, get: function () { return normalize_1.normalizeToUndefined; } });
|
|
39
40
|
var protocol_1 = require("./utils/protocol");
|
|
41
|
+
Object.defineProperty(exports, "aesEncryptionSchema", { enumerable: true, get: function () { return protocol_1.aesEncryptionSchema; } });
|
|
42
|
+
Object.defineProperty(exports, "asymmetricEncryptionBaseSchema", { enumerable: true, get: function () { return protocol_1.asymmetricEncryptionBaseSchema; } });
|
|
43
|
+
Object.defineProperty(exports, "asymmetricEncryptionOfflineSchema", { enumerable: true, get: function () { return protocol_1.asymmetricEncryptionOfflineSchema; } });
|
|
44
|
+
Object.defineProperty(exports, "baseProtocolSchema", { enumerable: true, get: function () { return protocol_1.baseProtocolSchema; } });
|
|
45
|
+
Object.defineProperty(exports, "bip32BaseProtocolSchema", { enumerable: true, get: function () { return protocol_1.bip32BaseProtocolSchema; } });
|
|
46
|
+
Object.defineProperty(exports, "bip32OfflineProtocolSchema", { enumerable: true, get: function () { return protocol_1.bip32OfflineProtocolSchema; } });
|
|
47
|
+
Object.defineProperty(exports, "bip32OnlineProtocolSchema", { enumerable: true, get: function () { return protocol_1.bip32OnlineProtocolSchema; } });
|
|
40
48
|
Object.defineProperty(exports, "canEncryptAES", { enumerable: true, get: function () { return protocol_1.canEncryptAES; } });
|
|
41
49
|
Object.defineProperty(exports, "canEncryptAsymmetric", { enumerable: true, get: function () { return protocol_1.canEncryptAsymmetric; } });
|
|
42
50
|
Object.defineProperty(exports, "canFetchDataForAddress", { enumerable: true, get: function () { return protocol_1.canFetchDataForAddress; } });
|
|
43
51
|
Object.defineProperty(exports, "canFetchDataForMultipleAddresses", { enumerable: true, get: function () { return protocol_1.canFetchDataForMultipleAddresses; } });
|
|
44
52
|
Object.defineProperty(exports, "canSignMessage", { enumerable: true, get: function () { return protocol_1.canSignMessage; } });
|
|
53
|
+
Object.defineProperty(exports, "configurableContractProtocolSchema", { enumerable: true, get: function () { return protocol_1.configurableContractProtocolSchema; } });
|
|
54
|
+
Object.defineProperty(exports, "configurableTransactionInjectorSchema", { enumerable: true, get: function () { return protocol_1.configurableTransactionInjectorSchema; } });
|
|
55
|
+
Object.defineProperty(exports, "fetchDataForAddressProtocolSchema", { enumerable: true, get: function () { return protocol_1.fetchDataForAddressProtocolSchema; } });
|
|
56
|
+
Object.defineProperty(exports, "fetchDataForMultipleAddressesProtocolSchema", { enumerable: true, get: function () { return protocol_1.fetchDataForMultipleAddressesProtocolSchema; } });
|
|
45
57
|
Object.defineProperty(exports, "hasConfigurableContract", { enumerable: true, get: function () { return protocol_1.hasConfigurableContract; } });
|
|
46
58
|
Object.defineProperty(exports, "hasConfigurableTransactionInjector", { enumerable: true, get: function () { return protocol_1.hasConfigurableTransactionInjector; } });
|
|
47
59
|
Object.defineProperty(exports, "hasMultiAddressPublicKeys", { enumerable: true, get: function () { return protocol_1.hasMultiAddressPublicKeys; } });
|
|
@@ -52,5 +64,14 @@ Object.defineProperty(exports, "isOnlineProtocol", { enumerable: true, get: func
|
|
|
52
64
|
Object.defineProperty(exports, "isSingleTokenSubProtocol", { enumerable: true, get: function () { return protocol_1.isSingleTokenSubProtocol; } });
|
|
53
65
|
Object.defineProperty(exports, "isSubProtocol", { enumerable: true, get: function () { return protocol_1.isSubProtocol; } });
|
|
54
66
|
Object.defineProperty(exports, "isTransactionStatusChecker", { enumerable: true, get: function () { return protocol_1.isTransactionStatusChecker; } });
|
|
67
|
+
Object.defineProperty(exports, "multiAddressPublicKeyProtocolSchema", { enumerable: true, get: function () { return protocol_1.multiAddressPublicKeyProtocolSchema; } });
|
|
68
|
+
Object.defineProperty(exports, "multiTokenSubProtocolBaseSchema", { enumerable: true, get: function () { return protocol_1.multiTokenSubProtocolBaseSchema; } });
|
|
69
|
+
Object.defineProperty(exports, "offlineProtocolSchema", { enumerable: true, get: function () { return protocol_1.offlineProtocolSchema; } });
|
|
70
|
+
Object.defineProperty(exports, "onlineProtocolSchema", { enumerable: true, get: function () { return protocol_1.onlineProtocolSchema; } });
|
|
55
71
|
Object.defineProperty(exports, "protocolNetworkIdentifier", { enumerable: true, get: function () { return protocol_1.protocolNetworkIdentifier; } });
|
|
72
|
+
Object.defineProperty(exports, "signMessageBaseSchema", { enumerable: true, get: function () { return protocol_1.signMessageBaseSchema; } });
|
|
73
|
+
Object.defineProperty(exports, "signMessageOfflineSchema", { enumerable: true, get: function () { return protocol_1.signMessageOfflineSchema; } });
|
|
74
|
+
Object.defineProperty(exports, "singleTokenSubProtocolSchema", { enumerable: true, get: function () { return protocol_1.singleTokenSubProtocolSchema; } });
|
|
75
|
+
Object.defineProperty(exports, "subProtocolSchema", { enumerable: true, get: function () { return protocol_1.subProtocolSchema; } });
|
|
76
|
+
Object.defineProperty(exports, "transactionStatusCheckerSchema", { enumerable: true, get: function () { return protocol_1.transactionStatusCheckerSchema; } });
|
|
56
77
|
//# sourceMappingURL=index.js.map
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;AACA,6CAA8C;AAqI5C,0FArIO,kBAAS,OAqIP;AApIX,uCAAwG;AAwItG,qGAxIO,0BAAoB,OAwIP;AAFpB,qGAtI6B,0BAAoB,OAsI7B;AACpB,6FAvImD,kBAAY,OAuInD;AAFZ,6FArIiE,kBAAY,OAqIjE;AApId,mDAAoD;AAwIlD,6FAxIO,wBAAY,OAwIP;AAvId,uDAAsF;AAyIpF,qGAzIO,kCAAoB,OAyIP;AADpB,uGAxI6B,oCAAsB,OAwI7B;AAvIxB,8CAA4G;AA+H1G,gGA/HO,uBAAe,OA+HP;AAFf,+FA7HwB,sBAAc,OA6HxB;AADd,kGA5HwC,yBAAiB,OA4HxC;AAEjB,kGA9H2D,yBAAiB,OA8H3D;AA7HnB,4CAAoD;AA+HlD,+FA/HO,qBAAc,OA+HP;AA7HhB,4EAAwE;AA4ItE,sGA5IO,+CAAqB,OA4IP;AAtEvB,yCAAyC;AA2KvC,yFA3KO,iBAAQ,OA2KP;AA1KV,+CAA+D;AA4K7D,oGA5KO,+BAAmB,OA4KP;AA3KrB,mCAA0G;AA4KxG,yFA5KO,cAAQ,OA4KP;AAIR,oGAhLiB,yBAAmB,OAgLjB;AAFnB,oGA9KsC,yBAAmB,OA8KtC;AACnB,4FA/K2D,iBAAW,OA+K3D;AAFX,4FA7KwE,iBAAW,OA6KxE;AA5Kb,yCAAyD;AAgLvD,yGAhLO,iCAAwB,OAgLP;AA/K1B,+CAAwD;AAgMtD,qGAhMO,gCAAoB,OAgMP;AA/LtB,6CAqCyB;AA6KvB,oGAjNA,8BAAmB,OAiNA;AACnB,+GAjNA,yCAA8B,OAiNA;AAC9B,kHAjNA,4CAAiC,OAiNA;AAfjC,mGAjMA,6BAAkB,OAiMA;AAGlB,wGAnMA,kCAAuB,OAmMA;AACvB,2GAnMA,qCAA0B,OAmMA;AAC1B,0GAnMA,oCAAyB,OAmMA;AAjBzB,8FAjLA,wBAAa,OAiLA;AACb,qGAjLA,+BAAoB,OAiLA;AALpB,uGA3KA,iCAAsB,OA2KA;AACtB,iHA3KA,2CAAgC,OA2KA;AAKhC,+FA/KA,yBAAc,OA+KA;AAsBd,mHApMA,6CAAkC,OAoMA;AAMlC,sHAzMA,gDAAqC,OAyMA;AATrC,kHA/LA,4CAAiC,OA+LA;AACjC,4HA/LA,sDAA2C,OA+LA;AAvB3C,wGAvKA,kCAAuB,OAuKA;AAIvB,mHA1KA,6CAAkC,OA0KA;AALlC,0GApKA,oCAAyB,OAoKA;AANzB,gGA7JA,0BAAe,OA6JA;AAGf,wGA/JA,kCAAuB,OA+JA;AALvB,kGAzJA,4BAAiB,OAyJA;AACjB,iGAzJA,2BAAgB,OAyJA;AAGhB,yGA3JA,mCAAwB,OA2JA;AADxB,8FAzJA,wBAAa,OAyJA;AAWb,2GAnKA,qCAA0B,OAmKA;AAmB1B,oHArLA,8CAAmC,OAqLA;AAHnC,gHAjLA,0CAA+B,OAiLA;AAP/B,sGAzKA,gCAAqB,OAyKA;AACrB,qGAzKA,+BAAoB,OAyKA;AATpB,0GA/JA,oCAAyB,OA+JA;AAuBzB,sGArLA,gCAAqB,OAqLA;AACrB,yGArLA,mCAAwB,OAqLA;AAVxB,6GA1KA,uCAA4B,OA0KA;AAD5B,kGAxKA,4BAAiB,OAwKA;AAajB,+GApLA,yCAA8B,OAoLA"}
|
package/internal/index.d.ts
CHANGED
|
@@ -1,2 +1,5 @@
|
|
|
1
|
-
import { AirGapDelegateProtocol } from './AirGapDelegateProtocol';
|
|
1
|
+
import { AirGapDelegateProtocol } from './protocol/AirGapDelegateProtocol';
|
|
2
|
+
import { delegateProtocolSchema, supportsDelegation } from './utils/protocol';
|
|
2
3
|
export { AirGapDelegateProtocol };
|
|
4
|
+
export { supportsDelegation };
|
|
5
|
+
export { delegateProtocolSchema };
|
package/internal/index.js
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.delegateProtocolSchema = exports.supportsDelegation = void 0;
|
|
4
|
+
var protocol_1 = require("./utils/protocol");
|
|
5
|
+
Object.defineProperty(exports, "delegateProtocolSchema", { enumerable: true, get: function () { return protocol_1.delegateProtocolSchema; } });
|
|
6
|
+
Object.defineProperty(exports, "supportsDelegation", { enumerable: true, get: function () { return protocol_1.supportsDelegation; } });
|
|
3
7
|
//# sourceMappingURL=index.js.map
|
package/internal/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/internal/index.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/internal/index.ts"],"names":[],"mappings":";;;AACA,6CAA6E;AAYpE,uGAZA,iCAAsB,OAYA;AAJtB,mGARwB,6BAAkB,OAQxB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DelegateeDetails, DelegationDetails, DelegatorDetails } from '@airgap/coinlib-core';
|
|
2
|
-
import { Address } from '
|
|
3
|
-
import { PublicKey } from '
|
|
2
|
+
import { Address } from '../../types/address';
|
|
3
|
+
import { PublicKey } from '../../types/key';
|
|
4
4
|
/**
|
|
5
5
|
* DO NOT USE!
|
|
6
6
|
* This is an internal type and will be removed in future releases.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AirGapDelegateProtocol.js","sourceRoot":"","sources":["../../../src/internal/protocol/AirGapDelegateProtocol.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { AnyProtocol } from '../../protocol/protocol';
|
|
2
|
+
import { Schema } from '../../utils/interface';
|
|
3
|
+
import { AirGapDelegateProtocol } from '../protocol/AirGapDelegateProtocol';
|
|
4
|
+
export declare const delegateProtocolSchema: Schema<AirGapDelegateProtocol>;
|
|
5
|
+
export declare function supportsDelegation(object: AnyProtocol): object is AnyProtocol & AirGapDelegateProtocol;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Schemas
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.supportsDelegation = exports.delegateProtocolSchema = void 0;
|
|
5
|
+
var interface_1 = require("../../utils/interface");
|
|
6
|
+
exports.delegateProtocolSchema = {
|
|
7
|
+
getCurrentDelegateesForAddress: 'required',
|
|
8
|
+
getCurrentDelegateesForPublicKey: 'required',
|
|
9
|
+
getDefaultDelegatee: 'required',
|
|
10
|
+
getDelegateeDetails: 'required',
|
|
11
|
+
getDelegationDetailsFromAddress: 'required',
|
|
12
|
+
getDelegationDetailsFromPublicKey: 'required',
|
|
13
|
+
getDelegatorDetailsFromAddress: 'required',
|
|
14
|
+
getDelegatorDetailsFromPublicKey: 'required',
|
|
15
|
+
isAddressDelegating: 'required',
|
|
16
|
+
isPublicKeyDelegating: 'required',
|
|
17
|
+
prepareDelegatorActionFromPublicKey: 'required'
|
|
18
|
+
};
|
|
19
|
+
// Implementation Checks
|
|
20
|
+
function supportsDelegation(object) {
|
|
21
|
+
return (0, interface_1.implementsInterface)(object, exports.delegateProtocolSchema);
|
|
22
|
+
}
|
|
23
|
+
exports.supportsDelegation = supportsDelegation;
|
|
24
|
+
//# sourceMappingURL=protocol.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"protocol.js","sourceRoot":"","sources":["../../../src/internal/utils/protocol.ts"],"names":[],"mappings":";AAAA,UAAU;;;AAGV,mDAAmE;AAGtD,QAAA,sBAAsB,GAAmC;IACpE,8BAA8B,EAAE,UAAU;IAC1C,gCAAgC,EAAE,UAAU;IAC5C,mBAAmB,EAAE,UAAU;IAC/B,mBAAmB,EAAE,UAAU;IAC/B,+BAA+B,EAAE,UAAU;IAC3C,iCAAiC,EAAE,UAAU;IAC7C,8BAA8B,EAAE,UAAU;IAC1C,gCAAgC,EAAE,UAAU;IAC5C,mBAAmB,EAAE,UAAU;IAC/B,qBAAqB,EAAE,UAAU;IACjC,mCAAmC,EAAE,UAAU;CAChD,CAAA;AAED,wBAAwB;AAExB,SAAgB,kBAAkB,CAAC,MAAmB;IACpD,OAAO,IAAA,+BAAmB,EAAyB,MAAM,EAAE,8BAAsB,CAAC,CAAA;AACpF,CAAC;AAFD,gDAEC"}
|
package/module/module.d.ts
CHANGED
|
@@ -4,17 +4,20 @@ import { AirGapV3SerializerCompanion } from '../serializer/serializer';
|
|
|
4
4
|
import { AirGapInterface } from '../types/airgap';
|
|
5
5
|
import { Complement } from '../types/meta/utility-types';
|
|
6
6
|
import { ProtocolConfiguration } from '../types/module';
|
|
7
|
-
|
|
7
|
+
import { ProtocolNetwork } from '../types/protocol';
|
|
8
|
+
interface ModuleGeneric<_Protocols extends string = string, _ProtocolNetwork extends ProtocolNetwork = ProtocolNetwork> {
|
|
8
9
|
Protocols: _Protocols;
|
|
10
|
+
ProtocolNetwork: _ProtocolNetwork;
|
|
9
11
|
}
|
|
10
12
|
declare type TypedProtocols<G extends Partial<ModuleGeneric>> = Complement<ModuleGeneric, G>['Protocols'];
|
|
11
|
-
|
|
13
|
+
declare type TypedProtocolNetwork<G extends Partial<ModuleGeneric>> = Complement<ModuleGeneric, G>['ProtocolNetwork'];
|
|
14
|
+
interface _Module<_Protocols extends ModuleGeneric['Protocols'] = any, _ProtocolNetwork extends ModuleGeneric['ProtocolNetwork'] = any> {
|
|
12
15
|
supportedProtocols: Record<_Protocols, ProtocolConfiguration>;
|
|
13
16
|
createOfflineProtocol(identifier: _Protocols): Promise<AirGapOfflineProtocol | undefined>;
|
|
14
|
-
createOnlineProtocol(identifier: _Protocols,
|
|
15
|
-
createBlockExplorer(identifier: _Protocols,
|
|
17
|
+
createOnlineProtocol(identifier: _Protocols, networkOrId?: _ProtocolNetwork | string): Promise<AirGapOnlineProtocol | undefined>;
|
|
18
|
+
createBlockExplorer(identifier: _Protocols, networkOrId?: _ProtocolNetwork | string): Promise<AirGapBlockExplorer | undefined>;
|
|
16
19
|
createV3SerializerCompanion(): Promise<AirGapV3SerializerCompanion>;
|
|
17
20
|
}
|
|
18
|
-
export declare type Module<G extends Partial<ModuleGeneric> = {}> = _Module<TypedProtocols<G>>;
|
|
21
|
+
export declare type Module<G extends Partial<ModuleGeneric> = {}> = _Module<TypedProtocols<G>, TypedProtocolNetwork<G>>;
|
|
19
22
|
export declare type AirGapModule<G extends Partial<ModuleGeneric> = {}> = AirGapInterface<Module<G>>;
|
|
20
23
|
export {};
|
package/package.json
CHANGED
|
@@ -3,5 +3,6 @@ import { ExtendedPublicKey, PublicKey } from '../../../types/key';
|
|
|
3
3
|
import { _AnyProtocol, _BaseProtocol, BaseGeneric } from '../../protocol';
|
|
4
4
|
export declare type MultiAddressPublicKeyExtension<T extends _AnyProtocol> = T extends _BaseProtocol<infer _BaseAddressCursor, infer _AddressResult, any, any, any, any, infer _PublicKey> ? _AddressResult extends AddressWithCursor<infer _AddressCursor> ? MultiAddressPublicKeyProtocol<_AddressCursor, _PublicKey> : MultiAddressPublicKeyProtocol<_BaseAddressCursor, _PublicKey> : never;
|
|
5
5
|
export interface MultiAddressPublicKeyProtocol<_AddressCursor extends BaseGeneric['AddressCursor'] = BaseGeneric['AddressCursor'], _PublicKey extends PublicKey | ExtendedPublicKey = PublicKey> {
|
|
6
|
+
getInitialAddressesFromPublicKey(publicKey: _PublicKey): Promise<AddressWithCursor<_AddressCursor>[]>;
|
|
6
7
|
getNextAddressFromPublicKey(publicKey: _PublicKey, cursor: _AddressCursor): Promise<AddressWithCursor<_AddressCursor> | undefined>;
|
|
7
8
|
}
|
package/protocol/protocol.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import { FeeEstimation } from '../types/fee';
|
|
|
7
7
|
import { ExtendedKeyPair, ExtendedPublicKey, ExtendedSecretKey, KeyPair, PublicKey, SecretKey } from '../types/key';
|
|
8
8
|
import { Complement } from '../types/meta/utility-types';
|
|
9
9
|
import { ProtocolMetadata, ProtocolNetwork } from '../types/protocol';
|
|
10
|
-
import { AirGapTransaction, AirGapTransactionsWithCursor, SignedTransaction,
|
|
10
|
+
import { AirGapTransaction, AirGapTransactionsWithCursor, SignedTransaction, TransactionSimpleConfiguration, TransactionCursor, TransactionDetails, UnsignedTransaction, TransactionFullConfiguration } from '../types/transaction';
|
|
11
11
|
export interface BaseGeneric<_AddressCursor extends AddressCursor = AddressCursor, _AddressResult extends Address | AddressWithCursor<_AddressCursor> = Address | AddressWithCursor<_AddressCursor>, _Units extends string = string, _FeeUnits extends string = _Units, _SignedTransaction extends SignedTransaction = SignedTransaction, _UnsignedTransaction extends UnsignedTransaction = UnsignedTransaction> {
|
|
12
12
|
AddressCursor: _AddressCursor;
|
|
13
13
|
AddressResult: _AddressResult;
|
|
@@ -50,9 +50,9 @@ export interface _OnlineProtocol<_AddressCursor extends OnlineGeneric['AddressCu
|
|
|
50
50
|
getNetwork(): Promise<_ProtocolNetwork>;
|
|
51
51
|
getTransactionsForPublicKey(publicKey: _PublicKey, limit: number, cursor?: _TransactionCursor): Promise<AirGapTransactionsWithCursor<_TransactionCursor, _Units, _FeeUnits>>;
|
|
52
52
|
getBalanceOfPublicKey(publicKey: _PublicKey, configuration?: _BalanceConfiguration): Promise<Balance<_Units>>;
|
|
53
|
-
getTransactionMaxAmountWithPublicKey(publicKey: _PublicKey, to: Address[], configuration?:
|
|
54
|
-
getTransactionFeeWithPublicKey(publicKey: _PublicKey, details: TransactionDetails<_Units>[]): Promise<_FeeEstimation>;
|
|
55
|
-
prepareTransactionWithPublicKey(publicKey: _PublicKey, details: TransactionDetails<_Units>[], configuration?:
|
|
53
|
+
getTransactionMaxAmountWithPublicKey(publicKey: _PublicKey, to: Address[], configuration?: TransactionFullConfiguration<_FeeUnits>): Promise<Amount<_Units>>;
|
|
54
|
+
getTransactionFeeWithPublicKey(publicKey: _PublicKey, details: TransactionDetails<_Units>[], configuration?: TransactionSimpleConfiguration): Promise<_FeeEstimation>;
|
|
55
|
+
prepareTransactionWithPublicKey(publicKey: _PublicKey, details: TransactionDetails<_Units>[], configuration?: TransactionFullConfiguration<_FeeUnits>): Promise<_UnsignedTransaction>;
|
|
56
56
|
broadcastTransaction(transaction: _SignedTransaction): Promise<string>;
|
|
57
57
|
}
|
|
58
58
|
export declare type OnlineProtocol<G extends Partial<OnlineGeneric> = {}> = _OnlineProtocol<TypedAddressCursor<G>, TypedAddressResult<G>, TypedProtocolNetwork<G>, TypedUnits<G>, TypedFeeUnits<G>, TypedFeeEstimation<G>, TypedSignedTransaction<G>, TypedUnsignedTransaction<G>, TypedTransactionCursor<G>, PublicKey, undefined>;
|
|
@@ -5,3 +5,4 @@ export declare type RecursivePartial<T> = {
|
|
|
5
5
|
export declare type Override<T, U> = Omit<T, keyof U> & U;
|
|
6
6
|
export declare type ExtractTyped<T, K extends T> = Extract<T, K>;
|
|
7
7
|
export declare type ExcludeTyped<T, K extends T> = Exclude<T, K>;
|
|
8
|
+
export declare type OmitTyped<T, K extends keyof T> = Omit<T, K>;
|
package/types/protocol.d.ts
CHANGED
package/types/transaction.d.ts
CHANGED
|
@@ -41,12 +41,14 @@ export interface TransactionDetails<_Units extends string = string> {
|
|
|
41
41
|
amount: Amount<_Units>;
|
|
42
42
|
arbitraryData?: string;
|
|
43
43
|
}
|
|
44
|
-
export interface
|
|
45
|
-
fee?: Amount<_FeeUnits>;
|
|
44
|
+
export interface TransactionSimpleConfiguration {
|
|
46
45
|
arbitraryData?: string;
|
|
47
46
|
keepMinBalance?: boolean;
|
|
48
47
|
assetId?: number;
|
|
49
48
|
}
|
|
49
|
+
export interface TransactionFullConfiguration<_FeeUnits extends string = string> extends TransactionSimpleConfiguration {
|
|
50
|
+
fee?: Amount<_FeeUnits>;
|
|
51
|
+
}
|
|
50
52
|
interface BaseTransactionStatus<_Type extends string> extends Sealed<_Type> {
|
|
51
53
|
hash?: string;
|
|
52
54
|
block?: string;
|
package/utils/protocol.d.ts
CHANGED
|
@@ -1,18 +1,40 @@
|
|
|
1
|
-
import { FetchDataForAddressExtension } from '../protocol/extensions/address/FetchDataForAddressExtension';
|
|
2
|
-
import { FetchDataForMultipleAddressesExtension } from '../protocol/extensions/address/FetchDataForMultipleAddressesExtension';
|
|
3
|
-
import { MultiAddressPublicKeyExtension } from '../protocol/extensions/address/MultiAddressPublicKeyExtension';
|
|
4
|
-
import { Bip32Extension } from '../protocol/extensions/bip/Bip32Extension';
|
|
1
|
+
import { FetchDataForAddressExtension, FetchDataForAddressProtocol } from '../protocol/extensions/address/FetchDataForAddressExtension';
|
|
2
|
+
import { FetchDataForMultipleAddressesExtension, FetchDataForMultipleAddressesProtocol } from '../protocol/extensions/address/FetchDataForMultipleAddressesExtension';
|
|
3
|
+
import { MultiAddressPublicKeyExtension, MultiAddressPublicKeyProtocol } from '../protocol/extensions/address/MultiAddressPublicKeyExtension';
|
|
4
|
+
import { BaseBip32Protocol, Bip32Extension, OfflineBip32Protocol, OnlineBip32Protocol } from '../protocol/extensions/bip/Bip32Extension';
|
|
5
5
|
import { ConfigurableContractProtocol } from '../protocol/extensions/contract/ConfigurableContractExtension';
|
|
6
|
-
import { AESExtension } from '../protocol/extensions/crypto/AESExtension';
|
|
7
|
-
import { AsymmetricEncryptionExtension } from '../protocol/extensions/crypto/AsymmetricEncryptionExtension';
|
|
8
|
-
import { SignMessageExtension } from '../protocol/extensions/crypto/SignMessageExtension';
|
|
9
|
-
import { MultiTokenSubProtocolExtension } from '../protocol/extensions/sub-protocol/MultiTokenSubProtocolExtension';
|
|
10
|
-
import { SingleTokenSubProtocolExtension } from '../protocol/extensions/sub-protocol/SingleTokenSubProtocolExtension';
|
|
6
|
+
import { AES, AESExtension } from '../protocol/extensions/crypto/AESExtension';
|
|
7
|
+
import { AsymmetricEncryptionExtension, BaseAsymmetricEncryption, OfflineAsymmetricEncryption } from '../protocol/extensions/crypto/AsymmetricEncryptionExtension';
|
|
8
|
+
import { BaseSignMessage, OfflineSignMessage, SignMessageExtension } from '../protocol/extensions/crypto/SignMessageExtension';
|
|
9
|
+
import { BaseMultiTokenSubProtocol, MultiTokenSubProtocolExtension, OnlineMultiTokenSubProtocol } from '../protocol/extensions/sub-protocol/MultiTokenSubProtocolExtension';
|
|
10
|
+
import { SingleTokenSubProtocol, SingleTokenSubProtocolExtension } from '../protocol/extensions/sub-protocol/SingleTokenSubProtocolExtension';
|
|
11
11
|
import { SubProtocol } from '../protocol/extensions/sub-protocol/SubProtocolExtension';
|
|
12
12
|
import { ConfigurableTransactionInjectorProtocol } from '../protocol/extensions/transaction/ConfigurableTransactionInjectorExtension';
|
|
13
|
-
import { TransactionStatusCheckerExtension } from '../protocol/extensions/transaction/TransactionStatusCheckerExtension';
|
|
14
|
-
import { AnyProtocol, OfflineProtocol, OnlineProtocol } from '../protocol/protocol';
|
|
13
|
+
import { TransactionStatusChecker, TransactionStatusCheckerExtension } from '../protocol/extensions/transaction/TransactionStatusCheckerExtension';
|
|
14
|
+
import { AnyProtocol, BaseProtocol, OfflineProtocol, OnlineProtocol } from '../protocol/protocol';
|
|
15
15
|
import { ProtocolNetwork } from '../types/protocol';
|
|
16
|
+
import { Schema } from './interface';
|
|
17
|
+
export declare const baseProtocolSchema: Schema<BaseProtocol>;
|
|
18
|
+
export declare const offlineProtocolSchema: Schema<OfflineProtocol>;
|
|
19
|
+
export declare const onlineProtocolSchema: Schema<OnlineProtocol>;
|
|
20
|
+
export declare const bip32BaseProtocolSchema: Schema<BaseBip32Protocol>;
|
|
21
|
+
export declare const bip32OfflineProtocolSchema: Schema<OfflineBip32Protocol>;
|
|
22
|
+
export declare const bip32OnlineProtocolSchema: Schema<OnlineBip32Protocol>;
|
|
23
|
+
export declare const subProtocolSchema: Schema<SubProtocol>;
|
|
24
|
+
export declare const singleTokenSubProtocolSchema: Schema<SingleTokenSubProtocol>;
|
|
25
|
+
export declare const multiTokenSubProtocolBaseSchema: Schema<BaseMultiTokenSubProtocol>;
|
|
26
|
+
export declare const multiTokenSubProtocolOnlineSchema: Schema<OnlineMultiTokenSubProtocol>;
|
|
27
|
+
export declare const fetchDataForAddressProtocolSchema: Schema<FetchDataForAddressProtocol>;
|
|
28
|
+
export declare const fetchDataForMultipleAddressesProtocolSchema: Schema<FetchDataForMultipleAddressesProtocol>;
|
|
29
|
+
export declare const multiAddressPublicKeyProtocolSchema: Schema<MultiAddressPublicKeyProtocol>;
|
|
30
|
+
export declare const configurableContractProtocolSchema: Schema<ConfigurableContractProtocol>;
|
|
31
|
+
export declare const aesEncryptionSchema: Schema<AES>;
|
|
32
|
+
export declare const asymmetricEncryptionBaseSchema: Schema<BaseAsymmetricEncryption>;
|
|
33
|
+
export declare const asymmetricEncryptionOfflineSchema: Schema<OfflineAsymmetricEncryption>;
|
|
34
|
+
export declare const signMessageBaseSchema: Schema<BaseSignMessage>;
|
|
35
|
+
export declare const signMessageOfflineSchema: Schema<OfflineSignMessage>;
|
|
36
|
+
export declare const configurableTransactionInjectorSchema: Schema<ConfigurableTransactionInjectorProtocol>;
|
|
37
|
+
export declare const transactionStatusCheckerSchema: Schema<TransactionStatusChecker>;
|
|
16
38
|
export declare function isOfflineProtocol(object: AnyProtocol): object is OfflineProtocol;
|
|
17
39
|
export declare function isOnlineProtocol(object: AnyProtocol): object is OnlineProtocol;
|
|
18
40
|
export declare function isBip32Protocol<T extends AnyProtocol>(protocol: T): protocol is T & Bip32Extension<T>;
|
package/utils/protocol.js
CHANGED
|
@@ -11,77 +11,78 @@ var __assign = (this && this.__assign) || function () {
|
|
|
11
11
|
return __assign.apply(this, arguments);
|
|
12
12
|
};
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.protocolNetworkIdentifier = exports.isTransactionStatusChecker = exports.hasConfigurableTransactionInjector = exports.canSignMessage = exports.canEncryptAsymmetric = exports.canEncryptAES = exports.hasConfigurableContract = exports.hasMultiAddressPublicKeys = exports.canFetchDataForMultipleAddresses = exports.canFetchDataForAddress = exports.isMultiTokenSubProtocol = exports.isSingleTokenSubProtocol = exports.isSubProtocol = exports.isBip32Protocol = exports.isOnlineProtocol = exports.isOfflineProtocol = void 0;
|
|
14
|
+
exports.protocolNetworkIdentifier = exports.isTransactionStatusChecker = exports.hasConfigurableTransactionInjector = exports.canSignMessage = exports.canEncryptAsymmetric = exports.canEncryptAES = exports.hasConfigurableContract = exports.hasMultiAddressPublicKeys = exports.canFetchDataForMultipleAddresses = exports.canFetchDataForAddress = exports.isMultiTokenSubProtocol = exports.isSingleTokenSubProtocol = exports.isSubProtocol = exports.isBip32Protocol = exports.isOnlineProtocol = exports.isOfflineProtocol = exports.transactionStatusCheckerSchema = exports.configurableTransactionInjectorSchema = exports.signMessageOfflineSchema = exports.signMessageBaseSchema = exports.asymmetricEncryptionOfflineSchema = exports.asymmetricEncryptionBaseSchema = exports.aesEncryptionSchema = exports.configurableContractProtocolSchema = exports.multiAddressPublicKeyProtocolSchema = exports.fetchDataForMultipleAddressesProtocolSchema = exports.fetchDataForAddressProtocolSchema = exports.multiTokenSubProtocolOnlineSchema = exports.multiTokenSubProtocolBaseSchema = exports.singleTokenSubProtocolSchema = exports.subProtocolSchema = exports.bip32OnlineProtocolSchema = exports.bip32OfflineProtocolSchema = exports.bip32BaseProtocolSchema = exports.onlineProtocolSchema = exports.offlineProtocolSchema = exports.baseProtocolSchema = void 0;
|
|
15
15
|
// @ts-ignore
|
|
16
16
|
var createHash = require("@airgap/coinlib-core/dependencies/src/create-hash-1.2.0/index");
|
|
17
17
|
var interface_1 = require("./interface");
|
|
18
18
|
// Schemas
|
|
19
|
-
|
|
19
|
+
exports.baseProtocolSchema = {
|
|
20
20
|
getAddressFromPublicKey: 'required',
|
|
21
21
|
getDetailsFromTransaction: 'required',
|
|
22
22
|
getMetadata: 'required'
|
|
23
23
|
};
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
24
|
+
exports.offlineProtocolSchema = __assign(__assign({}, exports.baseProtocolSchema), { getCryptoConfiguration: 'required', getKeyPairFromDerivative: 'required', signTransactionWithSecretKey: 'required' });
|
|
25
|
+
exports.onlineProtocolSchema = __assign(__assign({}, exports.baseProtocolSchema), { broadcastTransaction: 'required', getBalanceOfPublicKey: 'required', getNetwork: 'required', getTransactionFeeWithPublicKey: 'required', getTransactionMaxAmountWithPublicKey: 'required', getTransactionsForPublicKey: 'required', prepareTransactionWithPublicKey: 'required' });
|
|
26
|
+
exports.bip32BaseProtocolSchema = __assign(__assign({}, exports.baseProtocolSchema), { deriveFromExtendedPublicKey: 'required' });
|
|
27
|
+
exports.bip32OfflineProtocolSchema = __assign(__assign(__assign({}, exports.bip32BaseProtocolSchema), exports.offlineProtocolSchema), { getExtendedKeyPairFromDerivative: 'required', deriveFromExtendedSecretKey: 'required' });
|
|
28
|
+
exports.bip32OnlineProtocolSchema = __assign(__assign({}, exports.bip32BaseProtocolSchema), exports.onlineProtocolSchema);
|
|
29
|
+
exports.subProtocolSchema = {
|
|
30
30
|
getType: 'required',
|
|
31
31
|
mainProtocol: 'required'
|
|
32
32
|
};
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
33
|
+
exports.singleTokenSubProtocolSchema = __assign(__assign({}, exports.subProtocolSchema), { getContractAddress: 'required' });
|
|
34
|
+
exports.multiTokenSubProtocolBaseSchema = exports.singleTokenSubProtocolSchema;
|
|
35
|
+
exports.multiTokenSubProtocolOnlineSchema = __assign(__assign({}, exports.multiTokenSubProtocolBaseSchema), exports.onlineProtocolSchema);
|
|
36
|
+
exports.fetchDataForAddressProtocolSchema = {
|
|
37
37
|
getBalanceOfAddress: 'required',
|
|
38
38
|
getTransactionsForAddress: 'required'
|
|
39
39
|
};
|
|
40
|
-
|
|
40
|
+
exports.fetchDataForMultipleAddressesProtocolSchema = {
|
|
41
41
|
getBalanceOfAddresses: 'required',
|
|
42
42
|
getTransactionsForAddresses: 'required'
|
|
43
43
|
};
|
|
44
|
-
|
|
44
|
+
exports.multiAddressPublicKeyProtocolSchema = {
|
|
45
|
+
getInitialAddressesFromPublicKey: 'required',
|
|
45
46
|
getNextAddressFromPublicKey: 'required'
|
|
46
47
|
};
|
|
47
|
-
|
|
48
|
+
exports.configurableContractProtocolSchema = {
|
|
48
49
|
isContractValid: 'required',
|
|
49
50
|
getContractAddress: 'required',
|
|
50
51
|
setContractAddress: 'required'
|
|
51
52
|
};
|
|
52
|
-
|
|
53
|
+
exports.aesEncryptionSchema = {
|
|
53
54
|
decryptAESWithSecretKey: 'required',
|
|
54
55
|
encryptAESWithSecretKey: 'required'
|
|
55
56
|
};
|
|
56
|
-
|
|
57
|
+
exports.asymmetricEncryptionBaseSchema = {
|
|
57
58
|
encryptAsymmetricWithPublicKey: 'required'
|
|
58
59
|
};
|
|
59
|
-
|
|
60
|
-
|
|
60
|
+
exports.asymmetricEncryptionOfflineSchema = __assign(__assign({}, exports.asymmetricEncryptionBaseSchema), { decryptAsymmetricWithKeyPair: 'required' });
|
|
61
|
+
exports.signMessageBaseSchema = {
|
|
61
62
|
verifyMessageWithPublicKey: 'required'
|
|
62
63
|
};
|
|
63
|
-
|
|
64
|
-
|
|
64
|
+
exports.signMessageOfflineSchema = __assign(__assign({}, exports.signMessageBaseSchema), { signMessageWithKeyPair: 'required' });
|
|
65
|
+
exports.configurableTransactionInjectorSchema = {
|
|
65
66
|
getInjectorUrl: 'required',
|
|
66
67
|
setInjectorUrl: 'required'
|
|
67
68
|
};
|
|
68
|
-
|
|
69
|
+
exports.transactionStatusCheckerSchema = {
|
|
69
70
|
getTransactionStatus: 'required'
|
|
70
71
|
};
|
|
71
72
|
// Implementation Checks
|
|
72
73
|
function isOfflineProtocol(object) {
|
|
73
|
-
return (0, interface_1.implementsInterface)(object, offlineProtocolSchema);
|
|
74
|
+
return (0, interface_1.implementsInterface)(object, exports.offlineProtocolSchema);
|
|
74
75
|
}
|
|
75
76
|
exports.isOfflineProtocol = isOfflineProtocol;
|
|
76
77
|
function isOnlineProtocol(object) {
|
|
77
|
-
return (0, interface_1.implementsInterface)(object, onlineProtocolSchema);
|
|
78
|
+
return (0, interface_1.implementsInterface)(object, exports.onlineProtocolSchema);
|
|
78
79
|
}
|
|
79
80
|
exports.isOnlineProtocol = isOnlineProtocol;
|
|
80
81
|
function isOfflineBip32Protocol(protocol) {
|
|
81
|
-
return (0, interface_1.implementsInterface)(protocol, bip32OfflineProtocolSchema);
|
|
82
|
+
return (0, interface_1.implementsInterface)(protocol, exports.bip32OfflineProtocolSchema);
|
|
82
83
|
}
|
|
83
84
|
function isOnlineBip32Protocol(protocol) {
|
|
84
|
-
return (0, interface_1.implementsInterface)(protocol, bip32OnlineProtocolSchema);
|
|
85
|
+
return (0, interface_1.implementsInterface)(protocol, exports.bip32OnlineProtocolSchema);
|
|
85
86
|
}
|
|
86
87
|
function isBip32Protocol(protocol) {
|
|
87
88
|
var extendedWithBip32 = false;
|
|
@@ -95,63 +96,63 @@ function isBip32Protocol(protocol) {
|
|
|
95
96
|
}
|
|
96
97
|
exports.isBip32Protocol = isBip32Protocol;
|
|
97
98
|
function isSubProtocol(protocol) {
|
|
98
|
-
return (0, interface_1.implementsInterface)(protocol, subProtocolSchema);
|
|
99
|
+
return (0, interface_1.implementsInterface)(protocol, exports.subProtocolSchema);
|
|
99
100
|
}
|
|
100
101
|
exports.isSubProtocol = isSubProtocol;
|
|
101
102
|
function isSingleTokenSubProtocol(protocol) {
|
|
102
|
-
return (0, interface_1.implementsInterface)(protocol, singleTokenSubProtocolSchema);
|
|
103
|
+
return (0, interface_1.implementsInterface)(protocol, exports.singleTokenSubProtocolSchema);
|
|
103
104
|
}
|
|
104
105
|
exports.isSingleTokenSubProtocol = isSingleTokenSubProtocol;
|
|
105
106
|
function isMultiTokenSubProtocol(protocol) {
|
|
106
|
-
var extendedWithMultiTokenSubProtocol = (0, interface_1.implementsInterface)(protocol, multiTokenSubProtocolBaseSchema);
|
|
107
|
+
var extendedWithMultiTokenSubProtocol = (0, interface_1.implementsInterface)(protocol, exports.multiTokenSubProtocolBaseSchema);
|
|
107
108
|
if (isOnlineProtocol(protocol)) {
|
|
108
|
-
extendedWithMultiTokenSubProtocol && (extendedWithMultiTokenSubProtocol = (0, interface_1.implementsInterface)(protocol, multiTokenSubProtocolOnlineSchema));
|
|
109
|
+
extendedWithMultiTokenSubProtocol && (extendedWithMultiTokenSubProtocol = (0, interface_1.implementsInterface)(protocol, exports.multiTokenSubProtocolOnlineSchema));
|
|
109
110
|
}
|
|
110
111
|
return extendedWithMultiTokenSubProtocol;
|
|
111
112
|
}
|
|
112
113
|
exports.isMultiTokenSubProtocol = isMultiTokenSubProtocol;
|
|
113
114
|
function canFetchDataForAddress(protocol) {
|
|
114
|
-
return (0, interface_1.implementsInterface)(protocol, fetchDataForAddressProtocolSchema);
|
|
115
|
+
return (0, interface_1.implementsInterface)(protocol, exports.fetchDataForAddressProtocolSchema);
|
|
115
116
|
}
|
|
116
117
|
exports.canFetchDataForAddress = canFetchDataForAddress;
|
|
117
118
|
function canFetchDataForMultipleAddresses(protocol) {
|
|
118
|
-
return (0, interface_1.implementsInterface)(protocol, fetchDataForMultipleAddressesProtocolSchema);
|
|
119
|
+
return (0, interface_1.implementsInterface)(protocol, exports.fetchDataForMultipleAddressesProtocolSchema);
|
|
119
120
|
}
|
|
120
121
|
exports.canFetchDataForMultipleAddresses = canFetchDataForMultipleAddresses;
|
|
121
122
|
function hasMultiAddressPublicKeys(protocol) {
|
|
122
|
-
return (0, interface_1.implementsInterface)(protocol, multiAddressPublicKeyProtocolSchema);
|
|
123
|
+
return (0, interface_1.implementsInterface)(protocol, exports.multiAddressPublicKeyProtocolSchema);
|
|
123
124
|
}
|
|
124
125
|
exports.hasMultiAddressPublicKeys = hasMultiAddressPublicKeys;
|
|
125
126
|
function hasConfigurableContract(protocol) {
|
|
126
|
-
return (0, interface_1.implementsInterface)(protocol, configurableContractProtocolSchema);
|
|
127
|
+
return (0, interface_1.implementsInterface)(protocol, exports.configurableContractProtocolSchema);
|
|
127
128
|
}
|
|
128
129
|
exports.hasConfigurableContract = hasConfigurableContract;
|
|
129
130
|
function canEncryptAES(protocol) {
|
|
130
|
-
return (0, interface_1.implementsInterface)(protocol, aesEncryptionSchema);
|
|
131
|
+
return (0, interface_1.implementsInterface)(protocol, exports.aesEncryptionSchema);
|
|
131
132
|
}
|
|
132
133
|
exports.canEncryptAES = canEncryptAES;
|
|
133
134
|
function canEncryptAsymmetric(protocol) {
|
|
134
|
-
var extendedWithAsymmetricEncryption = (0, interface_1.implementsInterface)(protocol, asymmetricEncryptionBaseSchema);
|
|
135
|
+
var extendedWithAsymmetricEncryption = (0, interface_1.implementsInterface)(protocol, exports.asymmetricEncryptionBaseSchema);
|
|
135
136
|
if (isOfflineProtocol(protocol)) {
|
|
136
|
-
extendedWithAsymmetricEncryption && (extendedWithAsymmetricEncryption = (0, interface_1.implementsInterface)(protocol, asymmetricEncryptionOfflineSchema));
|
|
137
|
+
extendedWithAsymmetricEncryption && (extendedWithAsymmetricEncryption = (0, interface_1.implementsInterface)(protocol, exports.asymmetricEncryptionOfflineSchema));
|
|
137
138
|
}
|
|
138
139
|
return extendedWithAsymmetricEncryption;
|
|
139
140
|
}
|
|
140
141
|
exports.canEncryptAsymmetric = canEncryptAsymmetric;
|
|
141
142
|
function canSignMessage(protocol) {
|
|
142
|
-
var extendedWithSignMessage = (0, interface_1.implementsInterface)(protocol, signMessageBaseSchema);
|
|
143
|
+
var extendedWithSignMessage = (0, interface_1.implementsInterface)(protocol, exports.signMessageBaseSchema);
|
|
143
144
|
if (isOfflineProtocol(protocol)) {
|
|
144
|
-
extendedWithSignMessage && (extendedWithSignMessage = (0, interface_1.implementsInterface)(protocol, signMessageOfflineSchema));
|
|
145
|
+
extendedWithSignMessage && (extendedWithSignMessage = (0, interface_1.implementsInterface)(protocol, exports.signMessageOfflineSchema));
|
|
145
146
|
}
|
|
146
147
|
return extendedWithSignMessage;
|
|
147
148
|
}
|
|
148
149
|
exports.canSignMessage = canSignMessage;
|
|
149
150
|
function hasConfigurableTransactionInjector(protocol) {
|
|
150
|
-
return (0, interface_1.implementsInterface)(protocol, configurableTransactionInjectorSchema);
|
|
151
|
+
return (0, interface_1.implementsInterface)(protocol, exports.configurableTransactionInjectorSchema);
|
|
151
152
|
}
|
|
152
153
|
exports.hasConfigurableTransactionInjector = hasConfigurableTransactionInjector;
|
|
153
154
|
function isTransactionStatusChecker(protocol) {
|
|
154
|
-
return (0, interface_1.implementsInterface)(protocol, transactionStatusCheckerSchema);
|
|
155
|
+
return (0, interface_1.implementsInterface)(protocol, exports.transactionStatusCheckerSchema);
|
|
155
156
|
}
|
|
156
157
|
exports.isTransactionStatusChecker = isTransactionStatusChecker;
|
|
157
158
|
// Identifier
|
package/utils/protocol.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"protocol.js","sourceRoot":"","sources":["../../src/utils/protocol.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,aAAa;AACb,0FAA4F;AAsC5F,yCAAyD;AAEzD,UAAU;
|
|
1
|
+
{"version":3,"file":"protocol.js","sourceRoot":"","sources":["../../src/utils/protocol.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,aAAa;AACb,0FAA4F;AAsC5F,yCAAyD;AAEzD,UAAU;AAEG,QAAA,kBAAkB,GAAyB;IACtD,uBAAuB,EAAE,UAAU;IACnC,yBAAyB,EAAE,UAAU;IACrC,WAAW,EAAE,UAAU;CACxB,CAAA;AAEY,QAAA,qBAAqB,yBAC7B,0BAAkB,KACrB,sBAAsB,EAAE,UAAU,EAClC,wBAAwB,EAAE,UAAU,EACpC,4BAA4B,EAAE,UAAU,IACzC;AAEY,QAAA,oBAAoB,yBAC5B,0BAAkB,KACrB,oBAAoB,EAAE,UAAU,EAChC,qBAAqB,EAAE,UAAU,EACjC,UAAU,EAAE,UAAU,EACtB,8BAA8B,EAAE,UAAU,EAC1C,oCAAoC,EAAE,UAAU,EAChD,2BAA2B,EAAE,UAAU,EACvC,+BAA+B,EAAE,U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