From 3ac714e904379eda324e0e36ffe80fd1073d4983 Mon Sep 17 00:00:00 2001 From: jpgundrum Date: Wed, 18 Sep 2024 12:29:14 -0500 Subject: [PATCH] fix: add storage to main --- package-lock.json | 4 ++-- package.json | 2 +- packages/sdk/package.json | 2 +- packages/sdk/src/modules/main/index.ts | 3 +++ packages/types/package.json | 2 +- 5 files changed, 8 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index f37b6fd..74cf016 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "peaq-network", - "version": "0.7.0", + "version": "0.7.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "peaq-network", - "version": "0.7.0", + "version": "0.7.1", "license": "MIT", "dependencies": { "@polkadot/api": "12.4.2", diff --git a/package.json b/package.json index 1673274..520a554 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "peaq-network", - "version": "0.7.0", + "version": "0.7.1", "license": "MIT", "scripts": { "prepare": "ts-patch install -s" diff --git a/packages/sdk/package.json b/packages/sdk/package.json index cd0adf2..815e93c 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -1,7 +1,7 @@ { "author": "peaq network ", "name": "@peaq-network/sdk", - "version": "0.7.0", + "version": "0.7.1", "description": "peaq network sdk", "license": "Apache-2.0", "repository": { diff --git a/packages/sdk/src/modules/main/index.ts b/packages/sdk/src/modules/main/index.ts index 8007676..c1b3dfd 100644 --- a/packages/sdk/src/modules/main/index.ts +++ b/packages/sdk/src/modules/main/index.ts @@ -8,6 +8,7 @@ import type { Options, SDKMetadata } from '../../types'; import { Base } from '../base'; import { GenerateDidOptions, GenerateDidResult, Did } from '../did'; import { RBAC } from "../rbac"; +import { Storage } from "../storage"; /** @@ -20,6 +21,7 @@ export class Main extends Base { public did: Did; public rbac: RBAC; + public storage: Storage; constructor(options: Options) { super(); @@ -29,6 +31,7 @@ export class Main extends Base { this.did = new Did(this._api, this._metadata); this.rbac = new RBAC(this._api, this._metadata); + this.storage = new Storage(this._api, this._metadata); } /** diff --git a/packages/types/package.json b/packages/types/package.json index 1020a02..e1fd47d 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,7 +1,7 @@ { "author": "peaq network ", "name": "@peaq-network/types", - "version": "0.7.0", + "version": "0.7.1", "license": "Apache-2.0", "description": "Typescript definitions for the peaq network", "repository": {