npm package diff
Package: @forge/jira-bridge
Versions: 0.34.0 - 0.34.1-next.0
Modified:package/package.json
Index: package/package.json
===================================================================
--- package/package.json
+++ package/package.json
@@ -1,7 +1,7 @@
{
"name": "@forge/jira-bridge",
- "version": "0.34.0",
+ "version": "0.34.1-next.0",
"description": "Forge Jira bridge API for custom UI apps",
"author": "Atlassian",
"license": "UNLICENSED",
"browser": "out/index.js",
Modified:package/out/ui-modifications/types/errors.d.ts.map
Index: package/out/ui-modifications/types/errors.d.ts.map
===================================================================
--- package/out/ui-modifications/types/errors.d.ts.map
+++ package/out/ui-modifications/types/errors.d.ts.map
@@ -1,1 +1,1 @@
-{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../src/ui-modifications/types/errors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExD,oBAAY,2BAA2B,GAAG,yBAAyB,CAAC;AACpE,oBAAY,gCAAgC,GAAG,8BAA8B,CAAC;AAE9E,oBAAY,8BAA8B,GAAG,gCAAgC,CAAC;AAC9E,oBAAY,0CAA0C,GAAG,OAAO,CAAC;AACjE,oBAAY,+CAA+C,GAAG,YAAY,CAAC;AAE3E,oBAAY,aAAa,GAAG,QAAQ,GAAG,UAAU,CAAC;AAElD,oBAAY,eAAe,GACvB;IACE,IAAI,EAAE,2BAA2B,CAAC;IAClC,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,KAAK,CAAC,SAAS,CAAC,CAAC;IAC/B,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,GACD;IACE,IAAI,EAAE,gCAAgC,CAAC;IACvC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEN,oBAAY,4BAA4B,GACpC;IACE,IAAI,EAAE,8BAA8B,CAAC;IACrC,KAAK,EAAE,0CAA0C,CAAC;IAClD,aAAa,EAAE,aAAa,CAAC;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,KAAK,CAAC,SAAS,CAAC,CAAC;IAC/B,SAAS,EAAE,SAAS,CAAC;IACrB,OAAO,EAAE,OAAO,CAAC;CAClB,GACD;IACE,IAAI,EAAE,8BAA8B,CAAC;IACrC,KAAK,EAAE,+CAA+C,CAAC;IACvD,aAAa,EAAE,aAAa,CAAC;IAC7B,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC"}
\ No newline at end of file
+{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../src/ui-modifications/types/errors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExD,oBAAY,2BAA2B,GAAG,yBAAyB,CAAC;AACpE,oBAAY,gCAAgC,GAAG,8BAA8B,CAAC;AAE9E,oBAAY,sBAAsB,GAAG,wBAAwB,CAAC;AAC9D,oBAAY,kCAAkC,GAAG,OAAO,CAAC;AACzD,oBAAY,uCAAuC,GAAG,YAAY,CAAC;AAEnE,oBAAY,aAAa,GAAG,QAAQ,GAAG,UAAU,CAAC;AAElD,oBAAY,eAAe,GACvB;IACE,IAAI,EAAE,2BAA2B,CAAC;IAClC,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,KAAK,CAAC,SAAS,CAAC,CAAC;IAC/B,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,GACD;IACE,IAAI,EAAE,gCAAgC,CAAC;IACvC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEN,oBAAY,oBAAoB,GAC5B;IACE,IAAI,EAAE,sBAAsB,CAAC;IAC7B,KAAK,EAAE,kCAAkC,CAAC;IAC1C,aAAa,EAAE,aAAa,CAAC;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,KAAK,CAAC,SAAS,CAAC,CAAC;IAC/B,SAAS,EAAE,SAAS,CAAC;IACrB,OAAO,EAAE,OAAO,CAAC;CAClB,GACD;IACE,IAAI,EAAE,sBAAsB,CAAC;IAC7B,KAAK,EAAE,uCAAuC,CAAC;IAC/C,aAAa,EAAE,aAAa,CAAC;IAC7B,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC"}
\ No newline at end of file
Modified:package/out/ui-modifications/types/index.d.ts.map
Index: package/out/ui-modifications/types/index.d.ts.map
===================================================================
--- package/out/ui-modifications/types/index.d.ts.map
+++ package/out/ui-modifications/types/index.d.ts.map
@@ -1,1 +1,1 @@
-{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ui-modifications/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AACzG,OAAO,EAAE,eAAe,EAAE,4BAA4B,EAAE,MAAM,UAAU,CAAC;AACzE,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAG7E,oBAAY,OAAO,GAAG,aAAa,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAKjE,MAAM,WAAW,iBAAiB,CAAC,WAAW;IAC5C,KAAK,EAAE,WAAW,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,SAAS,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;IACpB,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;CACvC;AAKD,oBAAY,gBAAgB,GAAG,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAAC,aAAa,CAAC,SAAS,CAAC,CA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AE,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,CAAC"}
\ No newline at end of file
+{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ui-modifications/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AACzG,OAAO,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AACjE,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAG7E,oBAAY,OAAO,GAAG,aAAa,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAKjE,MAAM,WAAW,iBAAiB,CAAC,WAAW;IAC5C,KAAK,EAAE,WAAW,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,SAAS,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;IACpB,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;CACvC;AAKD,oBAAY,gBAAgB,GAAG,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;AAK5F,MAAM,WAAW,qBAAqB;IACpC,EAAE,EAAE,WAAW,CAAC;IAChB,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;CACnB;AAKD,oBAAY,sBAAsB,GAAG,qBAAqB,EAAE,CAAC;AAK7D,MAAM,WAAW,YAAY;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,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AC;AAEzD,MAAM,WAAW,0BAA0B;IACzC,IAAI,EAAE;QACJ,cAAc,EAAE,QAAQ,CAAC;QACzB,eAAe,EAAE,cAAc,EAAE,CAAC;QAClC,YAAY,CAAC,EAAE,kBAAkB,CAAC;KACnC,CAAC;IACF,OAAO,EAAE;QACP,aAAa,EAAE,MAAM,OAAO,CAAC,aAAa,CAAC,CAAC;QAC5C,MAAM,EAAE,CAAC,OAAO,EAAE;YAChB,aAAa,EAAE,WAAW,CAAC;YAC3B,iBAAiB,EAAE,iBAAiB,CAAC;YACrC,QAAQ,EAAE,QAAQ,CAAC;SACpB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;QACpB,cAAc,EAAE,CAAC,OAAO,EAAE;YAAE,MAAM,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;YAAC,QAAQ,EAAE,QAAQ,CAAA;SAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;QAC3F,kBAAkB,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,EAAE,iCAAiC,KAAK,IAAI,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;QACtG,aAAa,CAAC,EAAE,CAAC,OAAO,EAAE;YAAE,KAAK,EAAE,WAAW,CAAC;YAAC,QAAQ,CAAC,EAAE,QAAQ,CAAA;SAAE,KAAK,IAAI,CAAC;QAC/E,iBAAiB,CAAC,EAAE,CAAC,QAAQ,EAAE,aAAa,KAAK,IAAI,CAAC;KACvD,CAAC;CACH;AAED,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,CAAC"}
\ No newline at end of file
Modified:package/CHANGELOG.md
Index: package/CHANGELOG.md
===================================================================
--- package/CHANGELOG.md
+++ package/CHANGELOG.md
@@ -1,6 +1,12 @@
# @forge/jira-bridge
+## 0.34.1-next.0
+
+### Patch Changes
+
+- ea1de19: Fix multiple apps types
+
## 0.34.0
### Minor Changes
Modified:package/out/ui-modifications/types/errors.d.ts
Index: package/out/ui-modifications/types/errors.d.ts
===================================================================
--- package/out/ui-modifications/types/errors.d.ts
+++ package/out/ui-modifications/types/errors.d.ts
@@ -1,10 +1,10 @@
import { Field, FieldId, FieldType } from './field-api';
export declare type FIELD_VALIDATION_ERROR_TYPE = 'FIELD_VALIDATION_FAILED';
export declare type SCREENTABS_VALIDATION_ERROR_TYPE = 'SCREENTABS_VALIDATION_FAILED';
-export declare type MULTIPLE_APPS_MISCONFIGURATION = 'MULTIPLE_APPS_MISCONFIGURATION';
-export declare type MULTIPLE_APPS_MISCONFIGURATION_CAUSE_FIELD = 'FIELD';
-export declare type MULTIPLE_APPS_MISCONFIGURATION_CAUSE_SCREENTABS = 'SCREENTABS';
+export declare type MULTIPLE_APPS_CONFLICT = 'MULTIPLE_APPS_CONFLICT';
+export declare type MULTIPLE_APPS_CONFLICT_CAUSE_FIELD = 'FIELD';
+export declare type MULTIPLE_APPS_CONFLICT_CAUSE_SCREENTABS = 'SCREENTABS';
export declare type LifecycleHook = 'onInit' | 'onChange';
export declare type ValidationError = {
type: FIELD_VALIDATION_ERROR_TYPE;
fieldId: string;
@@ -14,19 +14,19 @@
} | {
type: SCREENTABS_VALIDATION_ERROR_TYPE;
message?: string;
};
-export declare type MultipleAppsMisconfiguration = {
- type: MULTIPLE_APPS_MISCONFIGURATION;
- cause: MULTIPLE_APPS_MISCONFIGURATION_CAUSE_FIELD;
+export declare type MultipleAppsConflict = {
+ type: MULTIPLE_APPS_CONFLICT;
+ cause: MULTIPLE_APPS_CONFLICT_CAUSE_FIELD;
lifecycleHook: LifecycleHook;
message: string;
method: keyof Field<FieldType>;
fieldType: FieldType;
fieldId: FieldId;
} | {
- type: MULTIPLE_APPS_MISCONFIGURATION;
- cause: MULTIPLE_APPS_MISCONFIGURATION_CAUSE_SCREENTABS;
+ type: MULTIPLE_APPS_CONFLICT;
+ cause: MULTIPLE_APPS_CONFLICT_CAUSE_SCREENTABS;
lifecycleHook: LifecycleHook;
message: string;
};
//# sourceMappingURL=errors.d.ts.map
\ No newline at end of file
Modified:package/out/ui-modifications/types/index.d.ts
Index: package/out/ui-modifications/types/index.d.ts
===================================================================
--- package/out/ui-modifications/types/index.d.ts
+++ package/out/ui-modifications/types/index.d.ts
@@ -1,7 +1,7 @@
import { ERROR_TYPES } from '../../errors';
import { Field, FieldGetValue, FieldId, FieldsHookApi, FieldType, OptionsVisibility } from './field-api';
-import { ValidationError, MultipleAppsMisconfiguration } from './errors';
+import { ValidationError, MultipleAppsConflict } from './errors';
import { ScreenTab, ScreenTabId, ScreenTabsHookApi } from './screen-tab-api';
export declare type HookApi = FieldsHookApi & Partial<ScreenTabsHookApi>;
export interface ReceivedFieldData<FIELD_VALUE> {
value: FIELD_VALUE;
@@ -54,9 +54,9 @@
currentScreenTabsState?: ReceivedScreenTabsData;
};
declare type BridgeError = (typeof ERROR_TYPES)[number];
export declare type SubscribeToErrorsCallbackPayload = {
- errors: (ValidationError | MultipleAppsMisconfiguration)[];
+ errors: (ValidationError | MultipleAppsConflict)[];
};
export declare type ErrorCallback = (payload: SubscribeToErrorsCallbackPayload) => void;
export declare type PublicFeatureFlags = Record<string, boolean>;
export interface UiModificationsInternalAPI {