wowok 1.1.2 → 1.1.3

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/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "wowok",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "AI-oriented web3 collaboration protocol, driving innovaion and making it more likely to happen.",
5
5
  "main": "./src/index.ts",
6
- "types": "./src/index.ts",
6
+ "types": "./src/index.ts",
7
7
  "module": "node",
8
8
  "type": "module",
9
9
  "scripts": {
@@ -39,6 +39,7 @@
39
39
  "graphql-tag": "^2.12.6"
40
40
  },
41
41
  "devDependencies": {
42
+ "@types/node": "^20.12.12",
42
43
  "tsx": "^4.7.1"
43
44
  }
44
45
  }
package/src/exception.ts CHANGED
@@ -16,6 +16,7 @@ export enum Errors {
16
16
  IsValidPermissionIndex = 'invalid permission index',
17
17
  IsValidKey = 'invalid key',
18
18
  Fail = 'fail',
19
+ IsValidIndentifier = 'indentifier invalid',
19
20
  }
20
21
 
21
22
  export const ERROR = (error:Errors, info?:any) => {