@forge/bridge
Advanced tools
Comparing version 0.0.1 to 0.0.2-next.0
# @forge/bridge | ||
## 0.0.2-next.0 | ||
### Patch Changes | ||
- 226e9a8: Implement invoking an app's resolver | ||
## 0.0.1 | ||
@@ -4,0 +10,0 @@ |
@@ -1,6 +0,6 @@ | ||
export declare const invoke: () => never; | ||
export declare const invoke: (functionKey: string, args: any[]) => any; | ||
declare const _default: { | ||
invoke: () => never; | ||
invoke: (functionKey: string, args: any[]) => any; | ||
}; | ||
export default _default; | ||
//# sourceMappingURL=index.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.invoke = void 0; | ||
exports.invoke = () => { | ||
throw new Error('Not implemented'); | ||
exports.invoke = function (functionKey, args) { | ||
return window.__bridge.callBridge('invoke', { functionKey: functionKey, args: args }); | ||
}; | ||
@@ -7,0 +7,0 @@ exports.default = { |
{ | ||
"name": "@forge/bridge", | ||
"version": "0.0.1", | ||
"version": "0.0.2-next.0", | ||
"description": "Forge bridge API for custom UI apps", | ||
@@ -5,0 +5,0 @@ "author": "Atlassian", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2096
9
31