@tinycloud/sdk-core 2.1.0-beta.4 → 2.1.0-beta.5
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.cjs +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +12 -3
- package/dist/index.d.ts +12 -3
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1796,10 +1796,11 @@ var TinyCloud = class _TinyCloud {
|
|
|
1796
1796
|
/**
|
|
1797
1797
|
* Sign in and create a new session.
|
|
1798
1798
|
* Notifies services of the new session after successful sign-in.
|
|
1799
|
+
* @param options - Optional per-call SIWE overrides for this sign-in only
|
|
1799
1800
|
* @returns The new session
|
|
1800
1801
|
*/
|
|
1801
|
-
async signIn() {
|
|
1802
|
-
const session = await this.userAuthorization.signIn();
|
|
1802
|
+
async signIn(options) {
|
|
1803
|
+
const session = await this.userAuthorization.signIn(options);
|
|
1803
1804
|
const serviceSession = this.toServiceSession(session);
|
|
1804
1805
|
this.notifyServicesOfSessionChange(serviceSession);
|
|
1805
1806
|
return session;
|