@medialane/sdk 0.147.0 → 0.149.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/{errors-CTfk25XX.d.ts → errors-B315qikS.d.ts} +4 -0
- package/dist/{errors-BU-LJRp3.d.cts → errors-DY8a9DV-.d.cts} +4 -0
- package/dist/index.cjs +4 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/starknet/index.cjs +4 -0
- package/dist/starknet/index.cjs.map +1 -1
- package/dist/starknet/index.d.cts +2 -2
- package/dist/starknet/index.d.ts +2 -2
- package/dist/starknet/index.js +4 -0
- package/dist/starknet/index.js.map +1 -1
- package/package.json +1 -1
package/dist/starknet/index.cjs
CHANGED
|
@@ -754,6 +754,10 @@ var ApiClient = class {
|
|
|
754
754
|
async verifyEmailCode(email, code) {
|
|
755
755
|
await this.post("/v1/auth/email/verify-code", { email, code });
|
|
756
756
|
}
|
|
757
|
+
async confirmEmail(token) {
|
|
758
|
+
const body = await this.post("/v1/auth/email/confirm", { token });
|
|
759
|
+
return { email: body.email };
|
|
760
|
+
}
|
|
757
761
|
setupWalletKey(params) {
|
|
758
762
|
return this.post("/v1/users/me/wallet/key", params);
|
|
759
763
|
}
|