@forge/api 3.2.0-next.3 → 3.2.0-next.4-experimental-cf84ac7
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/CHANGELOG.md +27 -0
- package/out/api/runtime.d.ts +9 -0
- package/out/api/runtime.d.ts.map +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# @forge/api
|
|
2
2
|
|
|
3
|
+
## 3.2.0-next.4-experimental-cf84ac7
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- e343baf: Add external auth info to metadata for invocations
|
|
8
|
+
- d36502b: This change extends existing methods on external auth providers. We are now providing account details including: externalAccountId, displayName, avatarUrl, granted scopes.
|
|
9
|
+
Moreover, if end user authenticates multiple accounts, it is possible to select what account to use.
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 32fa518: Bumping dependencies via Renovate:
|
|
14
|
+
|
|
15
|
+
- @types/node-fetch
|
|
16
|
+
|
|
17
|
+
- Updated dependencies [5b82e7f]
|
|
18
|
+
- Updated dependencies [882be11]
|
|
19
|
+
- Updated dependencies [32fa518]
|
|
20
|
+
- @forge/util@1.4.1-next.0-experimental-cf84ac7
|
|
21
|
+
- @forge/egress@1.2.13-next.0-experimental-cf84ac7
|
|
22
|
+
- @forge/storage@1.5.15-next.0-experimental-cf84ac7
|
|
23
|
+
|
|
24
|
+
## 3.2.0-next.4
|
|
25
|
+
|
|
26
|
+
### Minor Changes
|
|
27
|
+
|
|
28
|
+
- e343baf: Add external auth info to metadata for invocations
|
|
29
|
+
|
|
3
30
|
## 3.2.0-next.3
|
|
4
31
|
|
|
5
32
|
### Patch Changes
|
package/out/api/runtime.d.ts
CHANGED
|
@@ -5,6 +5,14 @@ export declare type ProxyInfo = {
|
|
|
5
5
|
url: string;
|
|
6
6
|
host?: string;
|
|
7
7
|
};
|
|
8
|
+
export declare type ExternalAuthMetaData = {
|
|
9
|
+
service: string;
|
|
10
|
+
tokenAvailable: boolean;
|
|
11
|
+
remotes: {
|
|
12
|
+
baseUrl: string;
|
|
13
|
+
key: string;
|
|
14
|
+
}[];
|
|
15
|
+
};
|
|
8
16
|
export declare type ForgeRuntime = {
|
|
9
17
|
proxy: ProxyInfo;
|
|
10
18
|
contextAri: string;
|
|
@@ -38,6 +46,7 @@ export declare type ForgeRuntime = {
|
|
|
38
46
|
url: string;
|
|
39
47
|
host: string;
|
|
40
48
|
};
|
|
49
|
+
externalAuth?: ExternalAuthMetaData[];
|
|
41
50
|
};
|
|
42
51
|
export declare type AppContext = {
|
|
43
52
|
appAri: AppAri;
|
package/out/api/runtime.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../../src/api/runtime.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,wCAAwC,CAAC;AAG5E,OAAO,EAAoD,MAAM,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,OAAO,CAAC;AAQlH,oBAAY,SAAS,GAAG;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,oBAAY,YAAY,GAAG;IACzB,KAAK,EAAE,SAAS,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE;QACT,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,OAAO,CAAC,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,UAAU,EAAE;QACV,KAAK,EAAE,MAAM,CAAC;QACd,UAAU,EAAE,MAAM,CAAC;QACnB,aAAa,EAAE,MAAM,CAAC;QACtB,eAAe,EAAE,MAAM,CAAC;QACxB,YAAY,EAAE,MAAM,CAAC;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IAAI,CAAC,EAAE,IAAI,CAAA;CAAO,GAC7B,CAAC,GAAG,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC,GAAG,CAAC,CAiBjC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/api",
|
|
3
|
-
"version": "3.2.0-next.
|
|
3
|
+
"version": "3.2.0-next.4-experimental-cf84ac7",
|
|
4
4
|
"description": "Forge API methods",
|
|
5
5
|
"author": "Atlassian",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"compile": "tsc -b -v"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"@forge/runtime": "5.4.0-next.
|
|
15
|
+
"@forge/runtime": "5.4.0-next.4-experimental-cf84ac7",
|
|
16
16
|
"@types/node": "14.18.63",
|
|
17
17
|
"expect-type": "^0.17.3",
|
|
18
18
|
"jest-matcher-specific-error": "^1.0.0",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@forge/auth": "0.0.5",
|
|
23
|
-
"@forge/egress": "1.2.13-next.0",
|
|
24
|
-
"@forge/storage": "1.5.15-next.0",
|
|
25
|
-
"@forge/util": "1.4.1-next.0",
|
|
23
|
+
"@forge/egress": "1.2.13-next.0-experimental-cf84ac7",
|
|
24
|
+
"@forge/storage": "1.5.15-next.0-experimental-cf84ac7",
|
|
25
|
+
"@forge/util": "1.4.1-next.0-experimental-cf84ac7",
|
|
26
26
|
"@types/node-fetch": "^2.6.11",
|
|
27
27
|
"node-fetch": "2.7.0"
|
|
28
28
|
}
|