@azure/identity-broker 1.3.1-alpha.20260309.2 → 1.4.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.
@@ -30,3 +30,4 @@ const nativeBrokerPlugin = (context) => {
30
30
  0 && (module.exports = {
31
31
  nativeBrokerPlugin
32
32
  });
33
+ //# sourceMappingURL=index.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["/mnt/vss/_work/1/s/sdk/identity/identity-broker/src/index.ts"],
3
+ "sources": ["../../src/index.ts"],
4
4
  "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { IdentityPlugin } from \"@azure/identity\";\nimport { NativeBrokerPlugin } from \"@azure/msal-node-extensions\";\n\n/**\n * A subset of the AzurePluginContext provided by \\@azure/identity\n */\ninterface AzurePluginContext {\n nativeBrokerPluginControl: NativeBrokerPluginControl;\n}\n\ninterface NativeBrokerPluginControl {\n // eslint-disable-next-line @typescript-eslint/consistent-type-imports\n setNativeBroker(nativeBroker: import(\"@azure/msal-node\").INativeBrokerPlugin): void;\n}\n\n/**\n * A plugin that provides WAM Integration for `@azure/identity`\n * credentials. The plugin API is compatible with `@azure/identity` versions\n * 4.0.0 and later. Load this plugin using the `useIdentityPlugin`\n * function, imported from `@azure/identity`.\n *\n * Example:\n *\n * ```ts snippet:using_plugins\n * import { useIdentityPlugin, InteractiveBrowserCredential } from \"@azure/identity\";\n * import { nativeBrokerPlugin } from \"@azure/identity-broker\";\n *\n * useIdentityPlugin(nativeBrokerPlugin);\n *\n * const credential = new InteractiveBrowserCredential({\n * brokerOptions: {\n * enabled: true,\n * parentWindowHandle: new Uint8Array(0), // This should be a handle to the parent window\n * },\n * });\n * ```\n */\nexport const nativeBrokerPlugin: IdentityPlugin = (context: unknown) => {\n const { nativeBrokerPluginControl } = context as AzurePluginContext;\n const brokerPlugin = new NativeBrokerPlugin();\n nativeBrokerPluginControl.setNativeBroker(brokerPlugin);\n};\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,kCAAmC;AAoC5B,MAAM,qBAAqC,CAAC,YAAqB;AACtE,QAAM,EAAE,0BAA0B,IAAI;AACtC,QAAM,eAAe,IAAI,+CAAmB;AAC5C,4BAA0B,gBAAgB,YAAY;AACxD;",
6
6
  "names": []
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.57.6"
8
+ "packageVersion": "7.58.1"
9
9
  }
10
10
  ]
11
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure/identity-broker",
3
- "version": "1.3.1-alpha.20260309.2",
3
+ "version": "1.4.0",
4
4
  "sdk-type": "client",
5
5
  "description": "A native plugin for Azure Identity credentials to enable broker authentication such as WAM",
6
6
  "main": "./dist/commonjs/index.js",
@@ -30,31 +30,31 @@
30
30
  "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity-broker/README.md",
31
31
  "sideEffects": false,
32
32
  "dependencies": {
33
- "@azure/core-auth": ">=1.10.2-alpha <1.10.2-alphb",
33
+ "@azure/core-auth": "^1.9.0",
34
34
  "@azure/identity": "^4.7.0",
35
- "@azure/msal-node": "^3.2.2",
36
- "@azure/msal-node-extensions": "^1.5.24",
35
+ "@azure/msal-node": "^5.1.0",
36
+ "@azure/msal-node-extensions": "^5.1.0",
37
37
  "tslib": "^2.2.0"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@types/node": "^20.19.25",
41
- "@vitest/browser-playwright": "^4.0.8",
42
- "@vitest/coverage-istanbul": "^4.0.8",
41
+ "@vitest/browser-playwright": "^4.1.2",
42
+ "@vitest/coverage-istanbul": "^4.1.2",
43
43
  "cross-env": "^10.1.0",
44
44
  "eslint": "^9.39.1",
45
45
  "prettier": "^3.6.2",
46
46
  "rimraf": "^6.1.0",
47
- "typescript": "~5.9.3",
48
- "vitest": "^4.0.8",
49
- "@azure-tools/test-utils-vitest": "^2.0.1",
50
- "@azure/abort-controller": "^2.1.3-alpha.20260309.2",
47
+ "typescript": "~6.0.2",
48
+ "vitest": "^4.1.2",
51
49
  "@azure-tools/test-recorder": "^4.1.1",
52
- "@azure/core-rest-pipeline": "^1.23.1-alpha.20260309.2",
53
- "@azure/core-client": "^1.10.2-alpha.20260309.2",
54
- "@azure/core-util": "^1.13.2-alpha.20260309.2",
50
+ "@azure/abort-controller": "^2.1.3",
51
+ "@azure/core-util": "^1.13.2",
52
+ "@azure-tools/test-utils-vitest": "^2.0.1",
53
+ "@azure/core-client": "^1.10.2",
54
+ "@azure/core-rest-pipeline": "^1.23.1",
55
55
  "@azure/dev-tool": "^1.0.0",
56
- "@azure/eslint-plugin-azure-sdk": "^3.0.0",
57
- "@azure/logger": "^1.3.1-alpha.20260309.2"
56
+ "@azure/logger": "^1.3.1",
57
+ "@azure/eslint-plugin-azure-sdk": "^3.0.0"
58
58
  },
59
59
  "//sampleConfiguration": {
60
60
  "productName": "Azure Identity Brokered Auth Plugin",