@tonconnect/protocol
Advanced tools
Comparing version 0.0.15 to 0.0.16
@@ -7,5 +7,6 @@ "use strict"; | ||
exports.SessionCrypto = void 0; | ||
const web_api_1 = require("src/utils/web-api"); | ||
const utils_1 = require("../utils"); | ||
const tweetnacl_1 = __importDefault(require("tweetnacl")); | ||
if ((0, utils_1.isNode)()) { | ||
if ((0, web_api_1.isNode)()) { | ||
try { | ||
@@ -12,0 +13,0 @@ eval("global.crypto = require('crypto').webcrypto"); |
export { Base64 } from './base64'; | ||
export { concatUint8Arrays, splitToUint8Arrays, toHexString, hexToByteArray } from './binary'; | ||
export { isNode } from './web-api'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.isNode = exports.hexToByteArray = exports.toHexString = exports.splitToUint8Arrays = exports.concatUint8Arrays = exports.Base64 = void 0; | ||
exports.hexToByteArray = exports.toHexString = exports.splitToUint8Arrays = exports.concatUint8Arrays = exports.Base64 = void 0; | ||
var base64_1 = require("./base64"); | ||
@@ -11,3 +11,1 @@ Object.defineProperty(exports, "Base64", { enumerable: true, get: function () { return base64_1.Base64; } }); | ||
Object.defineProperty(exports, "hexToByteArray", { enumerable: true, get: function () { return binary_1.hexToByteArray; } }); | ||
var web_api_1 = require("./web-api"); | ||
Object.defineProperty(exports, "isNode", { enumerable: true, get: function () { return web_api_1.isNode; } }); |
{ | ||
"name": "@tonconnect/protocol", | ||
"version": "0.0.15", | ||
"version": "0.0.16", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "type": "git", |
35878
527