needle-cloud 1.3.0 → 1.3.1
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.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/needle-share-cli/src/web/auth.config.d.ts +6 -0
- package/dist/needle-share-cli/src/web/auth.d.ts +6 -6
- package/dist/needle-share-cli/src/web/index.d.ts +1 -0
- package/dist/web/auth.config.d.ts +6 -0
- package/dist/web/auth.d.ts +6 -6
- package/dist/web/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export namespace Auth {
|
|
2
|
-
|
|
2
|
+
/** @param {boolean} _debug */
|
|
3
|
+
function setDebug(_debug: boolean): void;
|
|
3
4
|
const baseUrl: string;
|
|
4
5
|
const redirectUri: string;
|
|
5
6
|
const postSignOutRedirectUri: string;
|
|
@@ -69,11 +70,10 @@ export namespace Auth {
|
|
|
69
70
|
export type UserInfoResponse = import("@logto/browser").UserInfoResponse;
|
|
70
71
|
export type ResourceUrl = "https://cloud.needle.tools/api" | ({} & string);
|
|
71
72
|
export type AuthInitOpts = {
|
|
72
|
-
api_endpoint?: string;
|
|
73
73
|
appId?: string;
|
|
74
|
+
/**
|
|
75
|
+
* User scopes. If an empty array is passed
|
|
76
|
+
*/
|
|
77
|
+
scopes?: string[] | "payment" | "all";
|
|
74
78
|
debug?: boolean;
|
|
75
79
|
};
|
|
76
|
-
import { api_endpoint } from "../constants.js";
|
|
77
|
-
/** @type {string | undefined} */
|
|
78
|
-
declare let appId: string | undefined;
|
|
79
|
-
export {};
|
package/dist/web/auth.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export namespace Auth {
|
|
2
|
-
|
|
2
|
+
/** @param {boolean} _debug */
|
|
3
|
+
function setDebug(_debug: boolean): void;
|
|
3
4
|
const baseUrl: string;
|
|
4
5
|
const redirectUri: string;
|
|
5
6
|
const postSignOutRedirectUri: string;
|
|
@@ -69,11 +70,10 @@ export namespace Auth {
|
|
|
69
70
|
export type UserInfoResponse = import("@logto/browser").UserInfoResponse;
|
|
70
71
|
export type ResourceUrl = "https://cloud.needle.tools/api" | ({} & string);
|
|
71
72
|
export type AuthInitOpts = {
|
|
72
|
-
api_endpoint?: string;
|
|
73
73
|
appId?: string;
|
|
74
|
+
/**
|
|
75
|
+
* User scopes. If an empty array is passed
|
|
76
|
+
*/
|
|
77
|
+
scopes?: string[] | "payment" | "all";
|
|
74
78
|
debug?: boolean;
|
|
75
79
|
};
|
|
76
|
-
import { api_endpoint } from "../constants.js";
|
|
77
|
-
/** @type {string | undefined} */
|
|
78
|
-
declare let appId: string | undefined;
|
|
79
|
-
export {};
|
package/dist/web/index.d.ts
CHANGED