@deriverse/kit 1.0.22 → 1.0.24

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/README.md CHANGED
@@ -37,11 +37,9 @@ Based on [`@solana/kit`](https://www.npmjs.com/package/@solana/kit)
37
37
  npm install @deriverse/kit
38
38
  ```
39
39
 
40
- ## Documentation
41
- TODO
42
-
43
40
  ## Examples
44
- TODO
41
+
42
+ We prepared a comprehensive example that is available here: https://github.com/deriverse/kit-example
45
43
 
46
44
  ## Development
47
45
 
package/dist/index.js CHANGED
@@ -262,7 +262,7 @@ class Engine {
262
262
  let crncyTokenDec = 1;
263
263
  let logs = [];
264
264
  for (var log of data) {
265
- if (log.startsWith("Program returned error")) {
265
+ if (log.startsWith("Program returned error") || log.startsWith(`Program logged: "Error`)) {
266
266
  return [];
267
267
  }
268
268
  if (!log.startsWith("Program data: ")) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deriverse/kit",
3
- "version": "1.0.22",
3
+ "version": "1.0.24",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",