wowok 1.5.52 → 1.5.54

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
@@ -1,5 +1,5 @@
1
1
 
2
- # Wowok
2
+ # WoWok
3
3
 
4
4
  Create, collaborate, and transact on your own terms with the AI-driven web3 collaboration protocol.
5
5
 
@@ -27,5 +27,8 @@ The protocol address may change due to protocol upgrade. Please update the SDK t
27
27
  * Encrypted personal information transfer and order management
28
28
  * Support compensation and dispute voting arbitration
29
29
 
30
- #### [See more examples](https://github.com/wowok-ai/sdk-examples)
30
+ #### [How can social resources collaborate to meet a Kenya 10-day personalized travel dream](https://github.com/wowok-ai/sdk-examples/tree/main/kenya)
31
+ * Demand + Service + Machine/Progress + Order + Permission + Treasury + Arbitration
32
+
33
+ #### [See more examples...](https://github.com/wowok-ai/sdk-examples)
31
34
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wowok",
3
- "version": "1.5.52",
3
+ "version": "1.5.54",
4
4
  "description": "Create, collaborate, and transact on your own terms with the AI-driven web3 collaboration protocol.",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
package/src/protocol.ts CHANGED
@@ -221,14 +221,14 @@ const TESTNET = {
221
221
  }
222
222
  */
223
223
  const TESTNET = {
224
- wowok: "0x4cd9cecc9720f778678a8d7c4005834a99aff27bb573b15738fbbc6419e380ac",
225
- wowok_origin:'0x4cd9cecc9720f778678a8d7c4005834a99aff27bb573b15738fbbc6419e380ac' ,
226
- base: '0x985dd058e7f7d6c216b8a55d0170c47c1a6db048a8045c56c6cca4ba9333684d',
227
- base_origin: '0x985dd058e7f7d6c216b8a55d0170c47c1a6db048a8045c56c6cca4ba9333684d',
228
-
229
- wowok_object: '0x60aab3dc3e911a5f952a97fd411531b4e1e61676cdf0f8fe10685ce15310dd31',
230
- entity_object: '0xec60850cde84c92bad3a161f7c5db4f7b86440e1fdc819be94523a29fff67497',
231
- treasury_cap:'0x4bf3375d58afc7b9de3335e777223b3fad16f154305c313d65ec75c2183e2df9',
224
+ wowok: "0x55d89b02397f9086c1025380d5b92d3bb0daa906341a6173c5943045b83c10fa",
225
+ wowok_origin:'0x55d89b02397f9086c1025380d5b92d3bb0daa906341a6173c5943045b83c10fa' ,
226
+ base: '0xf02b247c28b38a1484fbac51b165fea3e70da6c5ca41256ed3c7e1b746fc7173',
227
+ base_origin: '0xf02b247c28b38a1484fbac51b165fea3e70da6c5ca41256ed3c7e1b746fc7173',
228
+
229
+ wowok_object: '0xa6057ffe4d7ec2c0fc0be6361460f9e705e29e94ee856e5b09d1b19b44108022',
230
+ entity_object: '0x155bfce91711af83a9e7b313f057ed6759dc06cfe52ec5993b2b85eab79623ea',
231
+ treasury_cap:'0xf3eb0e39d7435112c127d5f2130f8bf40ed4250756902b6c21df5140205bdf82',
232
232
  }
233
233
  const MAINNET = {
234
234
  wowok: "",
package/src/repository.ts CHANGED
@@ -380,6 +380,11 @@ export class Repository {
380
380
  static MAX_KEY_LENGTH = 128;
381
381
  static MAX_VALUE_LENGTH = 204800;
382
382
  static MAX_REFERENCE_COUNT = 100;
383
+
384
+ static TYPE_NORMAL = 0;
385
+ static TYPE_WOWOK_GRANTEE = 1;
386
+ static TYPE_WOWOK_ORACLE = 2;
387
+
383
388
  static IsValidName = (key:string) => {
384
389
  return key.length <= Repository.MAX_KEY_LENGTH && key.length != 0;
385
390
  }