@witnium-tech/witniumchain 0.8.0 → 0.9.0
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.
- package/dist/index.d.mts +131 -1
- package/dist/index.d.ts +131 -1
- package/dist/index.js +11 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -473,6 +473,17 @@ var WitniumchainClient = class {
|
|
|
473
473
|
deleteAccount() {
|
|
474
474
|
return this.req("DELETE", "/v1/account", { auth: "SessionCookie" });
|
|
475
475
|
}
|
|
476
|
+
/**
|
|
477
|
+
* Re-mint a provisioning token for a verified-but-not-yet-provisioned
|
|
478
|
+
* account. Use when the token from `verifyEmail` was lost (e.g. the verify
|
|
479
|
+
* link was opened on a different device). Throws 409 if the email isn't
|
|
480
|
+
* verified or a contract already exists; rate-limited per account.
|
|
481
|
+
*/
|
|
482
|
+
reissueProvisioningToken() {
|
|
483
|
+
return this.req("POST", "/v1/account/provisioning-token/reissue", {
|
|
484
|
+
auth: "SessionCookie"
|
|
485
|
+
});
|
|
486
|
+
}
|
|
476
487
|
// ────────────────────────────────────────────────────────────────────────
|
|
477
488
|
// MFA (/v1/account/mfa/*)
|
|
478
489
|
//
|