@microsoft/rayfin-auth-provider-fabric 1.30.0 → 1.32.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/brokerUrl.d.ts +1 -1
- package/dist/embeddedFabricLogin.d.ts +1 -1
- package/dist/embeddedFabricLogin.js +2 -2
- package/dist/ensureSignedInWithFabric.d.ts +1 -1
- package/dist/ensureSignedInWithFabric.js +3 -3
- package/dist/fabricAuthHelpers.d.ts +1 -1
- package/dist/index.d.ts +8 -8
- package/dist/index.js +6 -6
- package/dist/initEmbeddedAuth.d.ts +1 -1
- package/dist/initEmbeddedAuth.js +2 -2
- package/dist/initiateFabricLogin.d.ts +1 -1
- package/dist/initiateFabricLogin.js +2 -2
- package/package.json +5 -5
package/dist/brokerUrl.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Auth } from '@microsoft/rayfin-auth';
|
|
2
|
-
import type { FabricAuthOptions } from './types';
|
|
2
|
+
import type { FabricAuthOptions } from './types.js';
|
|
3
3
|
/**
|
|
4
4
|
* Embedded-mode Fabric login — acquires a session via postMessage to the
|
|
5
5
|
* parent Fabric Extension Host without opening a popup.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { generateCodeVerifier, generateCodeChallenge, generateState, } from '@microsoft/rayfin-auth';
|
|
2
2
|
import { AuthError } from '@microsoft/rayfin-lib';
|
|
3
|
-
import { requestHandoff } from './PostMessageAuthTransport';
|
|
4
|
-
import { markEmbeddedHandoffCompleted } from './fabricAuthHelpers';
|
|
3
|
+
import { requestHandoff } from './PostMessageAuthTransport.js';
|
|
4
|
+
import { markEmbeddedHandoffCompleted } from './fabricAuthHelpers.js';
|
|
5
5
|
/**
|
|
6
6
|
* Embedded-mode Fabric login — acquires a session via postMessage to the
|
|
7
7
|
* parent Fabric Extension Host without opening a popup.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AuthError } from '@microsoft/rayfin-lib';
|
|
2
|
-
import { embeddedFabricLogin } from './embeddedFabricLogin';
|
|
3
|
-
import { hasEmbeddedHandoffCompleted, isEmbeddedMode, tryResumeSession, } from './fabricAuthHelpers';
|
|
4
|
-
import { initiateFabricLogin } from './initiateFabricLogin';
|
|
2
|
+
import { embeddedFabricLogin } from './embeddedFabricLogin.js';
|
|
3
|
+
import { hasEmbeddedHandoffCompleted, isEmbeddedMode, tryResumeSession, } from './fabricAuthHelpers.js';
|
|
4
|
+
import { initiateFabricLogin } from './initiateFabricLogin.js';
|
|
5
5
|
/**
|
|
6
6
|
* Ensures the user is signed in via Fabric brokered authentication.
|
|
7
7
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Auth, OpaqueSession } from '@microsoft/rayfin-auth';
|
|
2
|
-
import type { FabricAuthOptions } from './types';
|
|
2
|
+
import type { FabricAuthOptions } from './types.js';
|
|
3
3
|
/**
|
|
4
4
|
* Detects embedded mode from the `fabricEmbedded` option, the
|
|
5
5
|
* `?fabricEmbedded=true` URL query parameter, or a previously stored
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export type { FabricAuthOptions } from './types';
|
|
2
|
-
export { bridgeFabricCallback } from './bridgeFabricCallback';
|
|
3
|
-
export { embeddedFabricLogin } from './embeddedFabricLogin';
|
|
4
|
-
export { ensureSignedInWithFabric } from './ensureSignedInWithFabric';
|
|
5
|
-
export { initEmbeddedAuth } from './initEmbeddedAuth';
|
|
6
|
-
export { initiateFabricLogin } from './initiateFabricLogin';
|
|
7
|
-
export { requestHandoff } from './PostMessageAuthTransport';
|
|
8
|
-
export type { PostMessageHandoffResult } from './PostMessageAuthTransport';
|
|
1
|
+
export type { FabricAuthOptions } from './types.js';
|
|
2
|
+
export { bridgeFabricCallback } from './bridgeFabricCallback.js';
|
|
3
|
+
export { embeddedFabricLogin } from './embeddedFabricLogin.js';
|
|
4
|
+
export { ensureSignedInWithFabric } from './ensureSignedInWithFabric.js';
|
|
5
|
+
export { initEmbeddedAuth } from './initEmbeddedAuth.js';
|
|
6
|
+
export { initiateFabricLogin } from './initiateFabricLogin.js';
|
|
7
|
+
export { requestHandoff } from './PostMessageAuthTransport.js';
|
|
8
|
+
export type { PostMessageHandoffResult } from './PostMessageAuthTransport.js';
|
|
9
9
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Functions
|
|
2
|
-
export { bridgeFabricCallback } from './bridgeFabricCallback';
|
|
3
|
-
export { embeddedFabricLogin } from './embeddedFabricLogin';
|
|
4
|
-
export { ensureSignedInWithFabric } from './ensureSignedInWithFabric';
|
|
5
|
-
export { initEmbeddedAuth } from './initEmbeddedAuth';
|
|
6
|
-
export { initiateFabricLogin } from './initiateFabricLogin';
|
|
7
|
-
export { requestHandoff } from './PostMessageAuthTransport';
|
|
2
|
+
export { bridgeFabricCallback } from './bridgeFabricCallback.js';
|
|
3
|
+
export { embeddedFabricLogin } from './embeddedFabricLogin.js';
|
|
4
|
+
export { ensureSignedInWithFabric } from './ensureSignedInWithFabric.js';
|
|
5
|
+
export { initEmbeddedAuth } from './initEmbeddedAuth.js';
|
|
6
|
+
export { initiateFabricLogin } from './initiateFabricLogin.js';
|
|
7
|
+
export { requestHandoff } from './PostMessageAuthTransport.js';
|
|
8
8
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Auth, OpaqueSession } from '@microsoft/rayfin-auth';
|
|
2
|
-
import type { FabricAuthOptions } from './types';
|
|
2
|
+
import type { FabricAuthOptions } from './types.js';
|
|
3
3
|
/**
|
|
4
4
|
* Initializes embedded Fabric authentication if running inside an iframe
|
|
5
5
|
* with `?fabricEmbedded=true`.
|
package/dist/initEmbeddedAuth.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { embeddedFabricLogin } from './embeddedFabricLogin';
|
|
2
|
-
import { hasEmbeddedHandoffCompleted, isEmbeddedMode, tryResumeSession, } from './fabricAuthHelpers';
|
|
1
|
+
import { embeddedFabricLogin } from './embeddedFabricLogin.js';
|
|
2
|
+
import { hasEmbeddedHandoffCompleted, isEmbeddedMode, tryResumeSession, } from './fabricAuthHelpers.js';
|
|
3
3
|
/**
|
|
4
4
|
* Initializes embedded Fabric authentication if running inside an iframe
|
|
5
5
|
* with `?fabricEmbedded=true`.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { generateCodeVerifier, generateCodeChallenge, generateState, } from '@microsoft/rayfin-auth';
|
|
2
2
|
import { AuthError } from '@microsoft/rayfin-lib';
|
|
3
|
-
import { FABRIC_AUTH_CHANNEL } from './bridgeFabricCallback';
|
|
4
|
-
import { buildBrokerUrl } from './brokerUrl';
|
|
3
|
+
import { FABRIC_AUTH_CHANNEL } from './bridgeFabricCallback.js';
|
|
4
|
+
import { buildBrokerUrl } from './brokerUrl.js';
|
|
5
5
|
/**
|
|
6
6
|
* Initiates brokered authentication by opening the broker portal in a popup.
|
|
7
7
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/rayfin-auth-provider-fabric",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.32.0",
|
|
4
4
|
"description": "Fabric brokered authentication provider for Rayfin SDK",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
],
|
|
14
14
|
"type": "module",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@microsoft/rayfin-auth": "1.
|
|
17
|
-
"@microsoft/rayfin-lib": "1.
|
|
18
|
-
"@microsoft/fabric-embedded-host": "1.
|
|
16
|
+
"@microsoft/rayfin-auth": "1.32.0",
|
|
17
|
+
"@microsoft/rayfin-lib": "1.32.0",
|
|
18
|
+
"@microsoft/fabric-embedded-host": "1.32.0"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"typescript": "^5.8.3",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"author": "",
|
|
43
43
|
"license": "MIT",
|
|
44
44
|
"scripts": {
|
|
45
|
-
"build": "tsc",
|
|
45
|
+
"build": "tsc && node ../scripts/fix-esm-extensions.mjs ./dist",
|
|
46
46
|
"build:watch": "tsc --watch",
|
|
47
47
|
"clean": "rimraf dist && rimraf .tsbuildinfo",
|
|
48
48
|
"test": "vitest run",
|