Comparing version 0.9.0-rc1 to 0.9.0-rc2
import { default as nodeDriver } from "arweave/node/lib/crypto/node-driver.js"; | ||
import type { JWKInterface } from "./interface-jwk.js"; | ||
export { stringToBuffer, concatBuffers } from "arweave/node/lib/utils"; | ||
export { stringToBuffer, concatBuffers } from "arweave/node/lib/utils.js"; | ||
export { default as Transaction } from "arweave/node/lib/transaction.js"; | ||
@@ -5,0 +5,0 @@ export { deepHash } from "./deepHash.js"; |
@@ -10,5 +10,5 @@ "use strict"; | ||
// import CryptoInterface from "arweave/node/lib/crypto/crypto-interface.js"; | ||
var utils_1 = require("arweave/node/lib/utils"); | ||
Object.defineProperty(exports, "stringToBuffer", { enumerable: true, get: function () { return utils_1.stringToBuffer; } }); | ||
Object.defineProperty(exports, "concatBuffers", { enumerable: true, get: function () { return utils_1.concatBuffers; } }); | ||
var utils_js_1 = require("arweave/node/lib/utils.js"); | ||
Object.defineProperty(exports, "stringToBuffer", { enumerable: true, get: function () { return utils_js_1.stringToBuffer; } }); | ||
Object.defineProperty(exports, "concatBuffers", { enumerable: true, get: function () { return utils_js_1.concatBuffers; } }); | ||
var transaction_js_1 = require("arweave/node/lib/transaction.js"); | ||
@@ -15,0 +15,0 @@ Object.defineProperty(exports, "Transaction", { enumerable: true, get: function () { return __importDefault(transaction_js_1).default; } }); |
@@ -1,2 +0,2 @@ | ||
import type { Signer } from "./Signer"; | ||
import type { Signer } from "./Signer.js"; | ||
export type IndexToType = Record<number, { | ||
@@ -3,0 +3,0 @@ new (...args: any[]): Signer; |
@@ -7,3 +7,3 @@ "use strict"; | ||
exports.indexToType = void 0; | ||
const curve25519_1 = __importDefault(require("./keys/curve25519")); | ||
const curve25519_js_1 = __importDefault(require("./keys/curve25519.js")); | ||
const index_js_1 = require("./chains/index.js"); | ||
@@ -16,3 +16,3 @@ exports.indexToType = { | ||
// @ts-expect-error | ||
2: curve25519_1.default, | ||
2: curve25519_js_1.default, | ||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment | ||
@@ -19,0 +19,0 @@ // @ts-expect-error |
import { default as nodeDriver } from "arweave/node/lib/crypto/node-driver.js"; | ||
import type { JWKInterface } from "./interface-jwk.js"; | ||
export { stringToBuffer, concatBuffers } from "arweave/node/lib/utils"; | ||
export { stringToBuffer, concatBuffers } from "arweave/node/lib/utils.js"; | ||
export { default as Transaction } from "arweave/node/lib/transaction.js"; | ||
@@ -5,0 +5,0 @@ export { deepHash } from "./deepHash.js"; |
import { createPublicKey } from "crypto"; | ||
import { default as nodeDriver } from "arweave/node/lib/crypto/node-driver.js"; | ||
// import CryptoInterface from "arweave/node/lib/crypto/crypto-interface.js"; | ||
export { stringToBuffer, concatBuffers } from "arweave/node/lib/utils"; | ||
export { stringToBuffer, concatBuffers } from "arweave/node/lib/utils.js"; | ||
export { default as Transaction } from "arweave/node/lib/transaction.js"; | ||
@@ -6,0 +6,0 @@ export { deepHash } from "./deepHash.js"; |
@@ -1,2 +0,2 @@ | ||
import type { Signer } from "./Signer"; | ||
import type { Signer } from "./Signer.js"; | ||
export type IndexToType = Record<number, { | ||
@@ -3,0 +3,0 @@ new (...args: any[]): Signer; |
import { default as nodeDriver } from "arweave/node/lib/crypto/node-driver.js"; | ||
import type { JWKInterface } from "./interface-jwk.js"; | ||
export { stringToBuffer, concatBuffers } from "arweave/node/lib/utils"; | ||
export { stringToBuffer, concatBuffers } from "arweave/node/lib/utils.js"; | ||
export { default as Transaction } from "arweave/node/lib/transaction.js"; | ||
@@ -5,0 +5,0 @@ export { deepHash } from "./deepHash.js"; |
@@ -10,5 +10,5 @@ "use strict"; | ||
// import CryptoInterface from "arweave/node/lib/crypto/crypto-interface.js"; | ||
var utils_1 = require("arweave/node/lib/utils"); | ||
Object.defineProperty(exports, "stringToBuffer", { enumerable: true, get: function () { return utils_1.stringToBuffer; } }); | ||
Object.defineProperty(exports, "concatBuffers", { enumerable: true, get: function () { return utils_1.concatBuffers; } }); | ||
var utils_js_1 = require("arweave/node/lib/utils.js"); | ||
Object.defineProperty(exports, "stringToBuffer", { enumerable: true, get: function () { return utils_js_1.stringToBuffer; } }); | ||
Object.defineProperty(exports, "concatBuffers", { enumerable: true, get: function () { return utils_js_1.concatBuffers; } }); | ||
var transaction_js_1 = require("arweave/node/lib/transaction.js"); | ||
@@ -15,0 +15,0 @@ Object.defineProperty(exports, "Transaction", { enumerable: true, get: function () { return __importDefault(transaction_js_1).default; } }); |
@@ -1,2 +0,2 @@ | ||
import type { Signer } from "./Signer"; | ||
import type { Signer } from "./Signer.js"; | ||
export type IndexToType = Record<number, { | ||
@@ -3,0 +3,0 @@ new (...args: any[]): Signer; |
@@ -7,3 +7,3 @@ "use strict"; | ||
exports.indexToType = void 0; | ||
const curve25519_1 = __importDefault(require("./keys/curve25519")); | ||
const curve25519_js_1 = __importDefault(require("./keys/curve25519.js")); | ||
const index_js_1 = require("./chains/index.js"); | ||
@@ -16,3 +16,3 @@ exports.indexToType = { | ||
// @ts-expect-error | ||
2: curve25519_1.default, | ||
2: curve25519_js_1.default, | ||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment | ||
@@ -19,0 +19,0 @@ // @ts-expect-error |
@@ -1,2 +0,2 @@ | ||
import type { Signer } from "./Signer"; | ||
import type { Signer } from "./Signer.js"; | ||
export type IndexToType = Record<number, { | ||
@@ -3,0 +3,0 @@ new (...args: any[]): Signer; |
{ | ||
"name": "arbundles", | ||
"version": "0.9.0-rc1", | ||
"version": "0.9.0-rc2", | ||
"description": "Arweave bundling library", | ||
@@ -12,2 +12,3 @@ "author": "Josh Benaron <joshbenaron@gmail.com>", | ||
".": { | ||
"browser": "./build/web/esm/webIndex.js", | ||
"require": { | ||
@@ -20,5 +21,3 @@ "types": "./build/node/cjs/index.d.ts", | ||
"default": "./build/node/esm/index.js" | ||
}, | ||
"node": "./build/node/cjs/index.js", | ||
"browser": "./build/web/esm/webIndex.js" | ||
} | ||
}, | ||
@@ -47,8 +46,8 @@ "./file": { | ||
"require": { | ||
"types": "./build/web/cjs/index.d.ts", | ||
"default": "./build/web/cjs/index.js" | ||
"types": "./build/node/cjs/index.d.ts", | ||
"default": "./build/node/cjs/index.js" | ||
}, | ||
"import": { | ||
"types": "./build/web/esm/index.d.ts", | ||
"default": "./build/web/esm/index.js" | ||
"types": "./build/node/esm/index.d.ts", | ||
"default": "./build/node/esm/index.js" | ||
} | ||
@@ -55,0 +54,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
5273850