@triveria/wallet 0.0.1 → 0.0.4

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 (2) hide show
  1. package/api.js +4 -4
  2. package/package.json +5 -2
package/api.js CHANGED
@@ -512,7 +512,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
512
512
  };
513
513
  }),
514
514
  /**
515
- * Configures and initiates a new wallet and creates a new key for the authenticated owner (if not already present).
515
+ * The first call will authenticate the client and create a new wallet that will be accessible only to the client. Any further calls are meant to update the wallet configuration. Be careful when changing the configuration as it may result in the wallet malfunction.
516
516
  * @param {WalletConfig} [walletConfig]
517
517
  * @param {*} [options] Override http request option.
518
518
  * @throws {RequiredError}
@@ -776,7 +776,7 @@ const DefaultApiFp = function (configuration) {
776
776
  });
777
777
  },
778
778
  /**
779
- * Configures and initiates a new wallet and creates a new key for the authenticated owner (if not already present).
779
+ * The first call will authenticate the client and create a new wallet that will be accessible only to the client. Any further calls are meant to update the wallet configuration. Be careful when changing the configuration as it may result in the wallet malfunction.
780
780
  * @param {WalletConfig} [walletConfig]
781
781
  * @param {*} [options] Override http request option.
782
782
  * @throws {RequiredError}
@@ -935,7 +935,7 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
935
935
  return localVarFp.oidcInitiatePreauth(initPreAuthOffer, options).then((request) => request(axios, basePath));
936
936
  },
937
937
  /**
938
- * Configures and initiates a new wallet and creates a new key for the authenticated owner (if not already present).
938
+ * The first call will authenticate the client and create a new wallet that will be accessible only to the client. Any further calls are meant to update the wallet configuration. Be careful when changing the configuration as it may result in the wallet malfunction.
939
939
  * @param {WalletConfig} [walletConfig]
940
940
  * @param {*} [options] Override http request option.
941
941
  * @throws {RequiredError}
@@ -1103,7 +1103,7 @@ class DefaultApi extends base_1.BaseAPI {
1103
1103
  return (0, exports.DefaultApiFp)(this.configuration).oidcInitiatePreauth(initPreAuthOffer, options).then((request) => request(this.axios, this.basePath));
1104
1104
  }
1105
1105
  /**
1106
- * Configures and initiates a new wallet and creates a new key for the authenticated owner (if not already present).
1106
+ * The first call will authenticate the client and create a new wallet that will be accessible only to the client. Any further calls are meant to update the wallet configuration. Be careful when changing the configuration as it may result in the wallet malfunction.
1107
1107
  * @param {WalletConfig} [walletConfig]
1108
1108
  * @param {*} [options] Override http request option.
1109
1109
  * @throws {RequiredError}
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@triveria/wallet",
3
3
  "private": false,
4
- "version": "0.0.1",
4
+ "version": "0.0.4",
5
5
  "description": "",
6
6
  "main": "index.js",
7
7
  "scripts": {
8
8
  "test": "echo \"Error: no test specified\" && exit 1",
9
- "build": "tsc && cp package.json dist/"
9
+ "build": "tsc && cp package.json dist/",
10
+ "gen-docs": "typedoc --plugin typedoc-plugin-markdown --out docs ./index.ts"
10
11
  },
11
12
  "keywords": [],
12
13
  "author": "",
@@ -16,6 +17,8 @@
16
17
  },
17
18
  "devDependencies": {
18
19
  "@types/node": "^20.10.6",
20
+ "typedoc": "^0.25.7",
21
+ "typedoc-plugin-markdown": "^3.17.1",
19
22
  "typescript": "^5.3.3"
20
23
  }
21
24
  }