@bloxchain/sdk 1.0.0-alpha.20 → 1.0.0-alpha.21

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 (63) hide show
  1. package/README.md +17 -16
  2. package/abi/AccountBlox.abi.json +1886 -1837
  3. package/abi/BaseStateMachine.abi.json +780 -775
  4. package/abi/CopyBlox.abi.json +825 -809
  5. package/abi/EngineBlox.abi.json +545 -538
  6. package/abi/GuardController.abi.json +1590 -1585
  7. package/abi/GuardControllerDefinitions.abi.json +231 -226
  8. package/abi/IDefinition.abi.json +54 -49
  9. package/abi/RoleBlox.abi.json +2993 -2993
  10. package/abi/RuntimeRBAC.abi.json +832 -827
  11. package/abi/RuntimeRBACDefinitions.abi.json +212 -207
  12. package/abi/SecureBlox.abi.json +2752 -2752
  13. package/abi/SecureOwnable.abi.json +1359 -1321
  14. package/abi/SecureOwnableDefinitions.abi.json +171 -166
  15. package/dist/abi/AccountBlox.abi.json +1886 -1837
  16. package/dist/abi/BaseStateMachine.abi.json +780 -775
  17. package/dist/abi/CopyBlox.abi.json +825 -809
  18. package/dist/abi/EngineBlox.abi.json +545 -538
  19. package/dist/abi/GuardController.abi.json +1590 -1585
  20. package/dist/abi/GuardControllerDefinitions.abi.json +231 -226
  21. package/dist/abi/IDefinition.abi.json +54 -49
  22. package/dist/abi/RoleBlox.abi.json +2993 -2993
  23. package/dist/abi/RuntimeRBAC.abi.json +832 -827
  24. package/dist/abi/RuntimeRBACDefinitions.abi.json +212 -207
  25. package/dist/abi/SecureBlox.abi.json +2752 -2752
  26. package/dist/abi/SecureOwnable.abi.json +1359 -1321
  27. package/dist/abi/SecureOwnableDefinitions.abi.json +171 -166
  28. package/dist/contracts/core/SecureOwnable.d.ts +1 -1
  29. package/dist/contracts/core/SecureOwnable.d.ts.map +1 -1
  30. package/dist/contracts/core/SecureOwnable.js +2 -2
  31. package/dist/contracts/core/SecureOwnable.js.map +1 -1
  32. package/dist/interfaces/core.security.index.d.ts +1 -1
  33. package/dist/interfaces/core.security.index.d.ts.map +1 -1
  34. package/dist/interfaces/lib.index.d.ts +1 -1
  35. package/dist/interfaces/lib.index.d.ts.map +1 -1
  36. package/dist/lib/Definition.d.ts.map +1 -1
  37. package/dist/lib/Definition.js +1 -0
  38. package/dist/lib/Definition.js.map +1 -1
  39. package/dist/lib/EngineBlox.d.ts +4 -5
  40. package/dist/lib/EngineBlox.d.ts.map +1 -1
  41. package/dist/lib/EngineBlox.js +9 -5
  42. package/dist/lib/EngineBlox.js.map +1 -1
  43. package/dist/types/core.security.index.js +2 -2
  44. package/dist/types/definition.index.d.ts +5 -0
  45. package/dist/types/definition.index.d.ts.map +1 -1
  46. package/dist/types/definition.index.js.map +1 -1
  47. package/dist/types/lib.index.d.ts +0 -1
  48. package/dist/types/lib.index.d.ts.map +1 -1
  49. package/dist/types/lib.index.js +1 -2
  50. package/dist/types/lib.index.js.map +1 -1
  51. package/dist/utils/contract-errors.d.ts +1 -8
  52. package/dist/utils/contract-errors.d.ts.map +1 -1
  53. package/dist/utils/contract-errors.js +0 -5
  54. package/dist/utils/contract-errors.js.map +1 -1
  55. package/dist/utils/interface-ids.js +1 -1
  56. package/dist/utils/validations.d.ts.map +1 -1
  57. package/dist/utils/validations.js +10 -11
  58. package/dist/utils/validations.js.map +1 -1
  59. package/package.json +2 -2
  60. package/abi/SimpleRWA20.abi.json +0 -4010
  61. package/abi/SimpleRWA20Definitions.abi.json +0 -196
  62. package/abi/SimpleVault.abi.json +0 -3385
  63. package/abi/SimpleVaultDefinitions.abi.json +0 -274
package/README.md CHANGED
@@ -38,25 +38,25 @@ Bloxchain Protocol implements a **state machine architecture** with `SecureOpera
38
38
 
39
39
  ## 📚 Documentation
40
40
 
41
- Comprehensive documentation is available in the [`docs/`](./docs/) directory:
41
+ Comprehensive documentation is available in the repository root [`docs/`](../../docs/) folder:
42
42
 
43
43
  ### **🏗️ Architecture & Design**
44
- - **[Protocol Architecture](./docs/bloxchain-architecture.md)** - Bloxchain protocol overview and design principles
45
- - **[State Machine Engine](./docs/state-machine-engine.md)** - SecureOperationState engine and state management
46
- - **[Architecture Patterns](./docs/architecture-patterns.md)** - Design patterns and best practices
44
+ - **[Protocol Architecture](../../docs/bloxchain-architecture.md)** - Bloxchain protocol overview and design principles
45
+ - **[State Machine Engine](../../docs/state-machine-engine.md)** - SecureOperationState engine and state management
46
+ - **[Architecture Patterns](../../docs/architecture-patterns.md)** - Design patterns and best practices
47
47
 
48
48
  ### **🚀 Getting Started**
49
- - **[Getting Started](./docs/getting-started.md)** - Quick setup and basic usage
50
- - **[API Reference](./docs/api-reference.md)** - Complete API documentation
51
- - **[SecureOwnable Guide](./docs/secure-ownable.md)** - Ownership management
52
- - **[RuntimeRBAC Guide](./docs/runtime-rbac.md)** - Role-based access control
49
+ - **[Getting Started](../../docs/getting-started.md)** - Quick setup and basic usage
50
+ - **[API Reference](../../docs/api-reference.md)** - Complete API documentation
51
+ - **[SecureOwnable Guide](../../docs/secure-ownable.md)** - Ownership management
52
+ - **[RuntimeRBAC Guide](../../docs/runtime-rbac.md)** - Role-based access control
53
53
 
54
54
  ### **🔍 Development Tools**
55
- - **[Best Practices](./docs/best-practices.md)** - Development guidelines
56
- - **[Examples](./docs/examples-basic.md)** - Practical code samples
57
- - **[Types & Interfaces](./docs/types-interfaces.md)** - Type definitions
55
+ - **[Best Practices](../../docs/best-practices.md)** - Development guidelines
56
+ - **[Examples](../../docs/examples-basic.md)** - Practical code samples
57
+ - **[Types & Interfaces](../../docs/types-interfaces.md)** - Type definitions
58
58
 
59
- **📖 [View All Documentation](./docs/README.md)**
59
+ **📖 [View All Documentation](../../docs/README.md)**
60
60
 
61
61
  ## Installation
62
62
 
@@ -166,7 +166,7 @@ const metaTx = await secureOwnable.generateUnsignedMetaTransactionForNew(
166
166
 
167
167
  ## RuntimeRBAC Usage
168
168
 
169
- RuntimeRBAC uses batch-based configuration for all role management operations. See the [RuntimeRBAC Guide](./docs/runtime-rbac.md) for complete examples.
169
+ RuntimeRBAC uses batch-based configuration for all role management operations. See the [RuntimeRBAC Guide](../../docs/runtime-rbac.md) for complete examples.
170
170
 
171
171
  ### Query Functions
172
172
 
@@ -193,7 +193,7 @@ const permissions = await runtimeRBAC.getActiveRolePermissions(roleHash);
193
193
 
194
194
  ### Batch Configuration
195
195
 
196
- All role management (create role, add wallet, add permissions, etc.) is done via batch operations. See the [RuntimeRBAC Guide](./docs/runtime-rbac.md) for detailed batch configuration examples.
196
+ All role management (create role, add wallet, add permissions, etc.) is done via batch operations. See the [RuntimeRBAC Guide](../../docs/runtime-rbac.md) for detailed batch configuration examples.
197
197
 
198
198
  ## Definitions Usage
199
199
 
@@ -312,10 +312,11 @@ import { TxStatus } from '@bloxchain/sdk';
312
312
 
313
313
  TxStatus.UNDEFINED
314
314
  TxStatus.PENDING
315
+ TxStatus.EXECUTING
316
+ TxStatus.PROCESSING_PAYMENT
315
317
  TxStatus.CANCELLED
316
318
  TxStatus.COMPLETED
317
319
  TxStatus.FAILED
318
- TxStatus.REJECTED
319
320
  ```
320
321
 
321
322
  ## Error Handling
@@ -352,7 +353,7 @@ This package follows [Semantic Versioning](https://semver.org/). Current version
352
353
 
353
354
  ## Support and links
354
355
 
355
- - **Documentation**: [SDK docs](./docs/) in this package; [Bloxchain Protocol README](https://github.com/PracticalParticle/Bloxchain-Protocol#readme) for protocol details
356
+ - **Documentation**: [SDK and protocol guides](../../docs/) in the repository `docs/` folder; [Bloxchain Protocol README](https://github.com/PracticalParticle/Bloxchain-Protocol#readme) for protocol details
356
357
  - **Issues and feature requests**: [GitHub Issues](https://github.com/PracticalParticle/Bloxchain-Protocol/issues)
357
358
  - **Homepage**: [bloxchain.app](https://bloxchain.app/)
358
359
  - **Author**: [Particle Crypto Security](https://particlecs.com/)