@xyo-network/witness-evm-abstract 3.3.0 → 3.3.2
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/dist/browser/lib/checkIpfsUrl.d.ts +6 -0
- package/dist/browser/lib/checkIpfsUrl.d.ts.map +1 -1
- package/dist/neutral/lib/checkIpfsUrl.d.ts +6 -0
- package/dist/neutral/lib/checkIpfsUrl.d.ts.map +1 -1
- package/dist/node/lib/checkIpfsUrl.d.ts +6 -0
- package/dist/node/lib/checkIpfsUrl.d.ts.map +1 -1
- package/package.json +11 -11
|
@@ -1,2 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Returns the equivalent IPFS gateway URL for the supplied URL.
|
|
3
|
+
* @param urlToCheck The URL to check
|
|
4
|
+
* @returns If the supplied URL is an IPFS URL, it converts the URL to the
|
|
5
|
+
* equivalent IPFS gateway URL. Otherwise, returns the original URL.
|
|
6
|
+
*/
|
|
1
7
|
export declare const checkIpfsUrl: (urlToCheck: string, ipfsGateway?: string) => string;
|
|
2
8
|
//# sourceMappingURL=checkIpfsUrl.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkIpfsUrl.d.ts","sourceRoot":"","sources":["../../../src/lib/checkIpfsUrl.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"checkIpfsUrl.d.ts","sourceRoot":"","sources":["../../../src/lib/checkIpfsUrl.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,eAAO,MAAM,YAAY,eAAgB,MAAM,gBAAgB,MAAM,KAAG,MAgCvE,CAAA"}
|
|
@@ -1,2 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Returns the equivalent IPFS gateway URL for the supplied URL.
|
|
3
|
+
* @param urlToCheck The URL to check
|
|
4
|
+
* @returns If the supplied URL is an IPFS URL, it converts the URL to the
|
|
5
|
+
* equivalent IPFS gateway URL. Otherwise, returns the original URL.
|
|
6
|
+
*/
|
|
1
7
|
export declare const checkIpfsUrl: (urlToCheck: string, ipfsGateway?: string) => string;
|
|
2
8
|
//# sourceMappingURL=checkIpfsUrl.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkIpfsUrl.d.ts","sourceRoot":"","sources":["../../../src/lib/checkIpfsUrl.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"checkIpfsUrl.d.ts","sourceRoot":"","sources":["../../../src/lib/checkIpfsUrl.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,eAAO,MAAM,YAAY,eAAgB,MAAM,gBAAgB,MAAM,KAAG,MAgCvE,CAAA"}
|
|
@@ -1,2 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Returns the equivalent IPFS gateway URL for the supplied URL.
|
|
3
|
+
* @param urlToCheck The URL to check
|
|
4
|
+
* @returns If the supplied URL is an IPFS URL, it converts the URL to the
|
|
5
|
+
* equivalent IPFS gateway URL. Otherwise, returns the original URL.
|
|
6
|
+
*/
|
|
1
7
|
export declare const checkIpfsUrl: (urlToCheck: string, ipfsGateway?: string) => string;
|
|
2
8
|
//# sourceMappingURL=checkIpfsUrl.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkIpfsUrl.d.ts","sourceRoot":"","sources":["../../../src/lib/checkIpfsUrl.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"checkIpfsUrl.d.ts","sourceRoot":"","sources":["../../../src/lib/checkIpfsUrl.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,eAAO,MAAM,YAAY,eAAgB,MAAM,gBAAgB,MAAM,KAAG,MAgCvE,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/witness-evm-abstract",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.2",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -29,19 +29,19 @@
|
|
|
29
29
|
"module": "dist/neutral/index.mjs",
|
|
30
30
|
"types": "dist/neutral/index.d.ts",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@xylabs/assert": "^4.
|
|
33
|
-
"@xylabs/object": "^4.
|
|
34
|
-
"@xylabs/promise": "^4.
|
|
35
|
-
"@xyo-network/abstract-witness": "^3.3.
|
|
36
|
-
"@xyo-network/module-model": "^3.3.
|
|
37
|
-
"@xyo-network/payload-model": "^3.3.
|
|
38
|
-
"@xyo-network/witness-model": "^3.3.
|
|
32
|
+
"@xylabs/assert": "^4.3.2",
|
|
33
|
+
"@xylabs/object": "^4.3.2",
|
|
34
|
+
"@xylabs/promise": "^4.3.2",
|
|
35
|
+
"@xyo-network/abstract-witness": "^3.3.2",
|
|
36
|
+
"@xyo-network/module-model": "^3.3.2",
|
|
37
|
+
"@xyo-network/payload-model": "^3.3.2",
|
|
38
|
+
"@xyo-network/witness-model": "^3.3.2",
|
|
39
39
|
"ethers": "6.13.4"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@xylabs/jest-helpers": "^4.
|
|
43
|
-
"@xylabs/ts-scripts-yarn3": "^4.2.
|
|
44
|
-
"@xylabs/tsconfig": "^4.2.
|
|
42
|
+
"@xylabs/jest-helpers": "^4.3.2",
|
|
43
|
+
"@xylabs/ts-scripts-yarn3": "^4.2.3",
|
|
44
|
+
"@xylabs/tsconfig": "^4.2.3",
|
|
45
45
|
"ethers": "6.13.4",
|
|
46
46
|
"jest": "^29.7.0",
|
|
47
47
|
"typescript": "^5.6.3"
|