@seedprotocol/arweave 0.7.10 → 0.7.11-next.1384.g8b47246
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.
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { DefaultArweaveClient } from '../default/ArweaveClient.js';
|
|
2
2
|
export declare class NodeArweaveClient extends DefaultArweaveClient {
|
|
3
3
|
}
|
|
4
|
-
/** @deprecated Prefer NodeArweaveClient */
|
|
5
|
-
export declare const ArweaveClient: typeof NodeArweaveClient;
|
|
6
4
|
//# sourceMappingURL=ArweaveClient.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ArweaveClient.d.ts","sourceRoot":"","sources":["../../src/node/ArweaveClient.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAA;AAElE,qBAAa,iBAAkB,SAAQ,oBAAoB;CAAG
|
|
1
|
+
{"version":3,"file":"ArweaveClient.d.ts","sourceRoot":"","sources":["../../src/node/ArweaveClient.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAA;AAElE,qBAAa,iBAAkB,SAAQ,oBAAoB;CAAG"}
|
package/dist/node/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './ArweaveClient.js';
|
|
2
|
-
export {
|
|
2
|
+
export { NodeArweaveClient } from './ArweaveClient.js';
|
|
3
3
|
/** Register Node.js Arweave client and set default read gateway host. */
|
|
4
4
|
export declare function registerNodeArweavePlatform(options?: {
|
|
5
5
|
arweaveDomain?: string;
|
package/dist/node/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/node/index.ts"],"names":[],"mappings":"AAAA,OAAO,oBAAoB,CAAA;AAK3B,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/node/index.ts"],"names":[],"mappings":"AAAA,OAAO,oBAAoB,CAAA;AAK3B,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AAEtD,yEAAyE;AACzE,wBAAgB,2BAA2B,CAAC,OAAO,CAAC,EAAE;IAAE,aAAa,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CAGtF"}
|
package/dist/node.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { L as e, t } from "./ArweaveClient-EKSAAcSl.js";
|
|
2
2
|
//#region src/node/ArweaveClient.ts
|
|
3
|
-
var n = class extends t {}
|
|
3
|
+
var n = class extends t {};
|
|
4
4
|
e.configure(new n());
|
|
5
5
|
//#endregion
|
|
6
6
|
//#region src/node/index.ts
|
|
7
|
-
function
|
|
7
|
+
function r(t) {
|
|
8
8
|
e.configure(new n()), e.setPreferredReadGateway(t?.arweaveDomain ?? "ar.seedprotocol.io");
|
|
9
9
|
}
|
|
10
10
|
//#endregion
|
|
11
|
-
export {
|
|
11
|
+
export { n as NodeArweaveClient, r as registerNodeArweavePlatform };
|
|
12
12
|
|
|
13
13
|
//# sourceMappingURL=node.js.map
|
package/dist/node.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node.js","names":["BaseArweaveClient","NodeArweaveClient","DefaultArweaveClient","
|
|
1
|
+
{"version":3,"file":"node.js","names":["BaseArweaveClient","NodeArweaveClient","DefaultArweaveClient","registerNodeArweavePlatform","options"],"sources":["../src/node/ArweaveClient.ts","../src/node/index.ts"],"sourcesContent":["import { BaseArweaveClient } from '../ArweaveClient/BaseArweaveClient.js'\nimport { DefaultArweaveClient } from '../default/ArweaveClient.js'\n\nexport class NodeArweaveClient extends DefaultArweaveClient {}\n\nBaseArweaveClient.configure(new NodeArweaveClient())\n","import './ArweaveClient.js'\nimport { DEFAULT_ARWEAVE_HOST } from '../constants.js'\nimport { BaseArweaveClient } from '../ArweaveClient/BaseArweaveClient.js'\nimport { NodeArweaveClient } from './ArweaveClient.js'\n\nexport { NodeArweaveClient } from './ArweaveClient.js'\n\n/** Register Node.js Arweave client and set default read gateway host. */\nexport function registerNodeArweavePlatform(options?: { arweaveDomain?: string }): void {\n BaseArweaveClient.configure(new NodeArweaveClient())\n BaseArweaveClient.setPreferredReadGateway(options?.arweaveDomain ?? DEFAULT_ARWEAVE_HOST)\n}\n"],"mappings":";;AAGA,IAAaC,IAAb,cAAuCC,EAAqB,CAAC;AAE7DF,EAAkB,UAAU,IAAIC,EAAkB,CAAC;;;ACGnD,SAAgBE,EAA4B,GAA4C;CAEtF,AADAH,EAAkB,UAAU,IAAIC,EAAkB,CAAC,GACnDD,EAAkB,wBAAwBI,GAAS,iBAAA,oBAAqC;AAC1F"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seedprotocol/arweave",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.11-next.1384.g8b47246",
|
|
4
4
|
"description": "Arweave gateway client for Seed Protocol: transaction reads, read-gateway selection with health probing, and gateway endpoint resolution",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"seed-protocol",
|