@flashbacktech/flashbackclient 0.1.44 → 0.1.45

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.
@@ -14,6 +14,7 @@ export declare class ConsumerOps {
14
14
  * @returns Promise resolving to the registration result
15
15
  */
16
16
  registerConsumer: (consumer_id: string, description: string) => Promise<void>;
17
+ registerFullUser: (user_id: string, description: string) => Promise<void>;
17
18
  /**
18
19
  * Updates an existing consumer's information
19
20
  * @param consumer_id - Address of the consumer to update
@@ -20,6 +20,11 @@ class ConsumerOps {
20
20
  { value: description, type: 'string' }
21
21
  ]);
22
22
  });
23
+ this.registerFullUser = (0, decorator_1.withSignature)(async (user_id, description) => {
24
+ await (0, transaction_1.executeWalletTransaction)(this.context, user_id, "register_full_user", [
25
+ { value: description, type: 'string' }
26
+ ]);
27
+ });
23
28
  /**
24
29
  * Updates an existing consumer's information
25
30
  * @param consumer_id - Address of the consumer to update
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flashbacktech/flashbackclient",
3
- "version": "0.1.44",
3
+ "version": "0.1.45",
4
4
  "type": "commonjs",
5
5
  "publishConfig": {
6
6
  "access": "public"