@lucid-evolution/provider 0.1.57 → 0.1.59
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/index.cjs +5 -5
- package/dist/index.js +5 -5
- package/package.json +7 -7
package/dist/index.cjs
CHANGED
|
@@ -52,7 +52,7 @@ var import_utils = require("@lucid-evolution/utils");
|
|
|
52
52
|
// package.json
|
|
53
53
|
var package_default = {
|
|
54
54
|
name: "@lucid-evolution/provider",
|
|
55
|
-
version: "0.1.
|
|
55
|
+
version: "0.1.59",
|
|
56
56
|
description: "",
|
|
57
57
|
main: "./dist/index.js",
|
|
58
58
|
types: "./dist/index.d.ts",
|
|
@@ -82,8 +82,8 @@ var package_default = {
|
|
|
82
82
|
"@anastasia-labs/cardano-multiplatform-lib-nodejs": "@anastasia-labs/cardano-multiplatform-lib-browser"
|
|
83
83
|
},
|
|
84
84
|
dependencies: {
|
|
85
|
-
"@anastasia-labs/cardano-multiplatform-lib-browser": "6.0.2-
|
|
86
|
-
"@anastasia-labs/cardano-multiplatform-lib-nodejs": "6.0.2-
|
|
85
|
+
"@anastasia-labs/cardano-multiplatform-lib-browser": "6.0.2-2",
|
|
86
|
+
"@anastasia-labs/cardano-multiplatform-lib-nodejs": "6.0.2-2",
|
|
87
87
|
"@effect/platform": "^0.59.2",
|
|
88
88
|
"@effect/schema": "^0.68.26",
|
|
89
89
|
"@lucid-evolution/core-types": "workspace:*",
|
|
@@ -404,8 +404,8 @@ var Blockfrost = class {
|
|
|
404
404
|
},
|
|
405
405
|
body: JSON.stringify(payload)
|
|
406
406
|
}).then((res2) => res2.json());
|
|
407
|
-
if (!res || res.
|
|
408
|
-
const message = res?.status_code === 400 ? res.message : `Could not evaluate the transaction: ${JSON.stringify(res)}`;
|
|
407
|
+
if (!res || res.fault) {
|
|
408
|
+
const message = res?.status_code === 400 ? res.message : `Could not evaluate the transaction: ${JSON.stringify(res)}. Transaction: ${tx}`;
|
|
409
409
|
throw new Error(message);
|
|
410
410
|
}
|
|
411
411
|
const blockfrostRedeemer = res;
|
package/dist/index.js
CHANGED
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
// package.json
|
|
12
12
|
var package_default = {
|
|
13
13
|
name: "@lucid-evolution/provider",
|
|
14
|
-
version: "0.1.
|
|
14
|
+
version: "0.1.59",
|
|
15
15
|
description: "",
|
|
16
16
|
main: "./dist/index.js",
|
|
17
17
|
types: "./dist/index.d.ts",
|
|
@@ -41,8 +41,8 @@ var package_default = {
|
|
|
41
41
|
"@anastasia-labs/cardano-multiplatform-lib-nodejs": "@anastasia-labs/cardano-multiplatform-lib-browser"
|
|
42
42
|
},
|
|
43
43
|
dependencies: {
|
|
44
|
-
"@anastasia-labs/cardano-multiplatform-lib-browser": "6.0.2-
|
|
45
|
-
"@anastasia-labs/cardano-multiplatform-lib-nodejs": "6.0.2-
|
|
44
|
+
"@anastasia-labs/cardano-multiplatform-lib-browser": "6.0.2-2",
|
|
45
|
+
"@anastasia-labs/cardano-multiplatform-lib-nodejs": "6.0.2-2",
|
|
46
46
|
"@effect/platform": "^0.59.2",
|
|
47
47
|
"@effect/schema": "^0.68.26",
|
|
48
48
|
"@lucid-evolution/core-types": "workspace:*",
|
|
@@ -363,8 +363,8 @@ var Blockfrost = class {
|
|
|
363
363
|
},
|
|
364
364
|
body: JSON.stringify(payload)
|
|
365
365
|
}).then((res2) => res2.json());
|
|
366
|
-
if (!res || res.
|
|
367
|
-
const message = res?.status_code === 400 ? res.message : `Could not evaluate the transaction: ${JSON.stringify(res)}`;
|
|
366
|
+
if (!res || res.fault) {
|
|
367
|
+
const message = res?.status_code === 400 ? res.message : `Could not evaluate the transaction: ${JSON.stringify(res)}. Transaction: ${tx}`;
|
|
368
368
|
throw new Error(message);
|
|
369
369
|
}
|
|
370
370
|
const blockfrostRedeemer = res;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lucid-evolution/provider",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.59",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -25,15 +25,15 @@
|
|
|
25
25
|
"@anastasia-labs/cardano-multiplatform-lib-nodejs": "@anastasia-labs/cardano-multiplatform-lib-browser"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@anastasia-labs/cardano-multiplatform-lib-browser": "6.0.2-
|
|
29
|
-
"@anastasia-labs/cardano-multiplatform-lib-nodejs": "6.0.2-
|
|
28
|
+
"@anastasia-labs/cardano-multiplatform-lib-browser": "6.0.2-2",
|
|
29
|
+
"@anastasia-labs/cardano-multiplatform-lib-nodejs": "6.0.2-2",
|
|
30
30
|
"@effect/platform": "^0.59.2",
|
|
31
31
|
"@effect/schema": "^0.68.26",
|
|
32
32
|
"effect": "^3.5.6",
|
|
33
|
-
"@lucid-evolution/core-types": "0.1.
|
|
34
|
-
"@lucid-evolution/
|
|
35
|
-
"@lucid-evolution/utils": "0.1.
|
|
36
|
-
"@lucid-evolution/wallet": "0.1.
|
|
33
|
+
"@lucid-evolution/core-types": "0.1.20",
|
|
34
|
+
"@lucid-evolution/utils": "0.1.44",
|
|
35
|
+
"@lucid-evolution/core-utils": "0.1.16",
|
|
36
|
+
"@lucid-evolution/wallet": "0.1.50"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@types/node": "^20.12.8",
|