@tonconnect/protocol
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -6,2 +6,1 @@ "use strict"; | ||
Object.defineProperty(exports, "SessionCrypto", { enumerable: true, get: function () { return session_crypto_1.SessionCrypto; } }); | ||
//# sourceMappingURL=index.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=key-pair.js.map |
@@ -49,2 +49,1 @@ "use strict"; | ||
exports.SessionCrypto = SessionCrypto; | ||
//# sourceMappingURL=session-crypto.js.map |
@@ -7,2 +7,1 @@ "use strict"; | ||
tslib_1.__exportStar(require("./utils"), exports); | ||
//# sourceMappingURL=index.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=app-message.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=connect-item.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=connect-request.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=index.js.map |
@@ -6,2 +6,1 @@ "use strict"; | ||
tslib_1.__exportStar(require("./connect-request"), exports); | ||
//# sourceMappingURL=index.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=app-request.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=index.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=send-transaction-rpc-request.js.map |
@@ -9,2 +9,1 @@ "use strict"; | ||
})(CHAIN = exports.CHAIN || (exports.CHAIN = {})); | ||
//# sourceMappingURL=CHAIN.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=device-info.js.map |
@@ -9,2 +9,1 @@ "use strict"; | ||
Object.defineProperty(exports, "CHAIN", { enumerable: true, get: function () { return CHAIN_1.CHAIN; } }); | ||
//# sourceMappingURL=index.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=rpc-method.js.map |
@@ -6,2 +6,1 @@ "use strict"; | ||
tslib_1.__exportStar(require("./wallet-response"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -20,4 +20,5 @@ import { CHAIN } from '../../CHAIN'; | ||
UNKNOWN_ERROR = 0, | ||
USER_REJECTS_ERROR = 1, | ||
AUTO_CONNECT_UNKNOWN_APP_ERROR = 2 | ||
BAD_REQUEST_ERROR = 1, | ||
UNKNOWN_APP_ERROR = 100, | ||
USER_REJECTS_ERROR = 300 | ||
} | ||
@@ -24,0 +25,0 @@ export declare type ConnectItemReply = TonAddressItemReply | TonProofItemReply; |
@@ -7,5 +7,5 @@ "use strict"; | ||
CONNECT_EVENT_ERROR_CODES[CONNECT_EVENT_ERROR_CODES["UNKNOWN_ERROR"] = 0] = "UNKNOWN_ERROR"; | ||
CONNECT_EVENT_ERROR_CODES[CONNECT_EVENT_ERROR_CODES["USER_REJECTS_ERROR"] = 1] = "USER_REJECTS_ERROR"; | ||
CONNECT_EVENT_ERROR_CODES[CONNECT_EVENT_ERROR_CODES["AUTO_CONNECT_UNKNOWN_APP_ERROR"] = 2] = "AUTO_CONNECT_UNKNOWN_APP_ERROR"; | ||
CONNECT_EVENT_ERROR_CODES[CONNECT_EVENT_ERROR_CODES["BAD_REQUEST_ERROR"] = 1] = "BAD_REQUEST_ERROR"; | ||
CONNECT_EVENT_ERROR_CODES[CONNECT_EVENT_ERROR_CODES["UNKNOWN_APP_ERROR"] = 100] = "UNKNOWN_APP_ERROR"; | ||
CONNECT_EVENT_ERROR_CODES[CONNECT_EVENT_ERROR_CODES["USER_REJECTS_ERROR"] = 300] = "USER_REJECTS_ERROR"; | ||
})(CONNECT_EVENT_ERROR_CODES = exports.CONNECT_EVENT_ERROR_CODES || (exports.CONNECT_EVENT_ERROR_CODES = {})); | ||
//# sourceMappingURL=connect-event.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=disconnect-event.js.map |
@@ -6,2 +6,1 @@ "use strict"; | ||
Object.defineProperty(exports, "CONNECT_EVENT_ERROR_CODES", { enumerable: true, get: function () { return connect_event_1.CONNECT_EVENT_ERROR_CODES; } }); | ||
//# sourceMappingURL=index.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=wallet-event.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=wallet-message.js.map |
@@ -6,2 +6,1 @@ "use strict"; | ||
Object.defineProperty(exports, "SEND_TRANSACTION_ERROR_CODES", { enumerable: true, get: function () { return send_transaction_rpc_response_1.SEND_TRANSACTION_ERROR_CODES; } }); | ||
//# sourceMappingURL=index.js.map |
@@ -15,3 +15,5 @@ import { WalletResponseTemplateError, WalletResponseTemplateSuccess } from './wallet-response-template'; | ||
UNKNOWN_ERROR = 0, | ||
USER_REJECTS_ERROR = 1 | ||
BAD_REQUEST_ERROR = 1, | ||
UNKNOWN_APP_ERROR = 100, | ||
USER_REJECTS_ERROR = 300 | ||
} |
@@ -7,4 +7,5 @@ "use strict"; | ||
SEND_TRANSACTION_ERROR_CODES[SEND_TRANSACTION_ERROR_CODES["UNKNOWN_ERROR"] = 0] = "UNKNOWN_ERROR"; | ||
SEND_TRANSACTION_ERROR_CODES[SEND_TRANSACTION_ERROR_CODES["USER_REJECTS_ERROR"] = 1] = "USER_REJECTS_ERROR"; | ||
SEND_TRANSACTION_ERROR_CODES[SEND_TRANSACTION_ERROR_CODES["BAD_REQUEST_ERROR"] = 1] = "BAD_REQUEST_ERROR"; | ||
SEND_TRANSACTION_ERROR_CODES[SEND_TRANSACTION_ERROR_CODES["UNKNOWN_APP_ERROR"] = 100] = "UNKNOWN_APP_ERROR"; | ||
SEND_TRANSACTION_ERROR_CODES[SEND_TRANSACTION_ERROR_CODES["USER_REJECTS_ERROR"] = 300] = "USER_REJECTS_ERROR"; | ||
})(SEND_TRANSACTION_ERROR_CODES = exports.SEND_TRANSACTION_ERROR_CODES || (exports.SEND_TRANSACTION_ERROR_CODES = {})); | ||
//# sourceMappingURL=send-transaction-rpc-response.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=wallet-response-template.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=wallet-response.js.map |
@@ -76,2 +76,1 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=base64.js.map |
@@ -39,2 +39,1 @@ "use strict"; | ||
exports.hexToByteArray = hexToByteArray; | ||
//# sourceMappingURL=binary.js.map |
@@ -11,2 +11,1 @@ "use strict"; | ||
Object.defineProperty(exports, "hexToByteArray", { enumerable: true, get: function () { return binary_1.hexToByteArray; } }); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@tonconnect/protocol", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"repository": { | ||
@@ -22,3 +22,4 @@ "type": "git", | ||
"scripts": { | ||
"build": "npx rimraf lib && tsc" | ||
"build": "npx rimraf lib && tsc", | ||
"build:production": "npx rimraf lib && tsc --sourceMap false" | ||
}, | ||
@@ -25,0 +26,0 @@ "files": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
452
30746
61