wowok 1.6.63 → 1.6.65

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.
Files changed (81) hide show
  1. package/README.md +7 -6
  2. package/dist/arbitration.js +217 -219
  3. package/dist/demand.d.ts +2 -2
  4. package/dist/demand.d.ts.map +1 -1
  5. package/dist/demand.js +123 -127
  6. package/dist/entity.d.ts +2 -4
  7. package/dist/entity.d.ts.map +1 -1
  8. package/dist/entity.js +92 -96
  9. package/dist/exception.d.ts +2 -1
  10. package/dist/exception.d.ts.map +1 -1
  11. package/dist/exception.js +5 -8
  12. package/dist/guard.d.ts.map +1 -1
  13. package/dist/guard.js +469 -506
  14. package/dist/index.d.ts +6 -3
  15. package/dist/index.d.ts.map +1 -1
  16. package/dist/index.js +22 -37
  17. package/dist/machine.d.ts +1 -2
  18. package/dist/machine.d.ts.map +1 -1
  19. package/dist/machine.js +265 -283
  20. package/dist/passport.d.ts +0 -2
  21. package/dist/passport.d.ts.map +1 -1
  22. package/dist/passport.js +444 -569
  23. package/dist/payment.js +22 -26
  24. package/dist/permission.d.ts +41 -34
  25. package/dist/permission.d.ts.map +1 -1
  26. package/dist/permission.js +265 -264
  27. package/dist/progress.d.ts +4 -4
  28. package/dist/progress.d.ts.map +1 -1
  29. package/dist/progress.js +165 -166
  30. package/dist/protocol.d.ts +33 -35
  31. package/dist/protocol.d.ts.map +1 -1
  32. package/dist/protocol.js +264 -376
  33. package/dist/repository.d.ts +21 -7
  34. package/dist/repository.d.ts.map +1 -1
  35. package/dist/repository.js +315 -290
  36. package/dist/resource.d.ts +7 -5
  37. package/dist/resource.d.ts.map +1 -1
  38. package/dist/resource.js +89 -89
  39. package/dist/service.d.ts +3 -3
  40. package/dist/service.d.ts.map +1 -1
  41. package/dist/service.js +542 -544
  42. package/dist/treasury.js +183 -184
  43. package/dist/utils.d.ts +1 -1
  44. package/dist/utils.d.ts.map +1 -1
  45. package/dist/utils.js +254 -340
  46. package/dist/wowok.js +51 -54
  47. package/package.json +1 -1
  48. package/src/arbitration.ts +39 -39
  49. package/src/demand.ts +23 -26
  50. package/src/entity.ts +15 -16
  51. package/src/exception.ts +1 -0
  52. package/src/guard.ts +24 -14
  53. package/src/index.ts +9 -6
  54. package/src/machine.ts +47 -69
  55. package/src/passport.ts +15 -17
  56. package/src/payment.ts +2 -2
  57. package/src/permission.ts +47 -62
  58. package/src/progress.ts +46 -43
  59. package/src/protocol.ts +68 -69
  60. package/src/repository.ts +31 -31
  61. package/src/resource.ts +17 -16
  62. package/src/service.ts +96 -96
  63. package/src/treasury.ts +30 -30
  64. package/src/utils.ts +11 -5
  65. package/src/wowok.ts +8 -8
  66. package/dist/agent_call/call.d.ts +0 -30
  67. package/dist/agent_call/call.d.ts.map +0 -1
  68. package/dist/agent_call/call.js +0 -83
  69. package/dist/agent_query/events.d.ts +0 -61
  70. package/dist/agent_query/events.d.ts.map +0 -1
  71. package/dist/agent_query/events.js +0 -122
  72. package/dist/agent_query/objects.d.ts +0 -312
  73. package/dist/agent_query/objects.d.ts.map +0 -1
  74. package/dist/agent_query/objects.js +0 -492
  75. package/dist/agent_query/permission.d.ts +0 -14
  76. package/dist/agent_query/permission.d.ts.map +0 -1
  77. package/dist/agent_query/permission.js +0 -110
  78. package/src/agent_call/call.ts +0 -756
  79. package/src/agent_query/events.ts +0 -100
  80. package/src/agent_query/objects.ts +0 -608
  81. package/src/agent_query/permission.ts +0 -60
package/README.md CHANGED
@@ -3,9 +3,10 @@
3
3
 
4
4
  Create, collaborate, and transact on your own terms with the AI-driven web3 collaboration protocol.
5
5
 
6
- Github: [https://github.com/wowok-ai/sdk](https://github.com/wowok-ai/sdk)
6
+ Github: [https://github.com/wowok-ai/wowok](https://github.com/wowok-ai/wowok)
7
+ Wowok Agent for AI: [https://github.com/wowok-ai/wowok_agent](https://github.com/wowok-ai/wowok_agent)
7
8
  Website: [https://wowok.net/](https://wowok.net/)
8
- Docs: [https://github.com/wowok-ai/sdk/wiki](https://github.com/wowok-ai/sdk/wiki)
9
+ Docs: [https://github.com/wowok-ai/wowok/wiki](https://github.com/wowok-ai/wowok/wiki)
9
10
  X: [https://x.com/Wowok_Ai](https://x.com/Wowok_Ai)
10
11
 
11
12
 
@@ -17,18 +18,18 @@ $ npm i wowok@latest
17
18
  The protocol address may change due to protocol upgrade. Please update the SDK to the latest version.
18
19
 
19
20
  ### Examples
20
- #### [An airdrop collection system for different behaviors, allowing three collection mechanisms:](https://github.com/wowok-ai/sdk-examples/tree/main/airdrop)
21
+ #### [An airdrop collection system for different behaviors, allowing three collection mechanisms:](https://github.com/wowok-ai/examples/tree/main/airdrop)
21
22
  * New users can claim 300 tokens
22
23
  * Each user can claim 100 tokens per day
23
24
  * After 10 claims, each user can claim 200 tokens per day
24
25
 
25
- #### [A complete e-commerce system similar to Amazon:](https://github.com/wowok-ai/sdk-examples/tree/main/e-commerce)
26
+ #### [A complete e-commerce system similar to Amazon:](https://github.com/wowok-ai/examples/tree/main/e-commerce)
26
27
  * Pre-sales, after-sales, finance, express and other multi-role cooperation
27
28
  * Encrypted personal information transfer and order management
28
29
  * Support compensation and dispute voting arbitration
29
30
 
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
+ #### [How can social resources collaborate to meet a Kenya 10-day personalized travel dream](https://github.com/wowok-ai/examples/tree/main/kenya)
31
32
  * Demand + Service + Machine/Progress + Order + Permission + Treasury + Arbitration
32
33
 
33
- #### [See more examples...](https://github.com/wowok-ai/sdk-examples)
34
+ #### [See more examples...](https://github.com/wowok-ai/examples)
34
35