@elliemae/pui-scripting-object 1.31.0 → 1.31.2

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.
@@ -86,7 +86,7 @@ export type OpenModalOptions = {
86
86
  size: ModalSize;
87
87
  };
88
88
  export type Capabilities = {
89
- supprotedActions: Array<string>;
89
+ supportedActions: Array<string>;
90
90
  supportedFeatures: Array<string>;
91
91
  };
92
92
  export type Route = {
@@ -118,9 +118,11 @@ export interface IAuth extends IScriptingObject {
118
118
  * an Access Token using the Client Secret associated with the given OAuth Client ID.
119
119
  * In certain contexts, the Auth token is tied to the currently logged in user's identity
120
120
  * @param clientId unique identifier of the plugin
121
+ * @param redirectUri redirect url of the plugin / microapp
122
+ * @param scope scope of the plugin / microapp
121
123
  * @returns auth code
122
124
  */
123
- createAuthCode(clientId: string): Promise<string>;
125
+ createAuthCode(clientId: string, redirectUri: string, scope: string): Promise<string>;
124
126
  /**
125
127
  * Get child access token for the given plugin
126
128
  * Host implementing this scripting object method,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/pui-scripting-object",
3
- "version": "1.31.0",
3
+ "version": "1.31.2",
4
4
  "description": "Typescript defintions for Scripting Objects",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/cjs/index.js",
@@ -67,10 +67,10 @@
67
67
  },
68
68
  "devDependencies": {
69
69
  "@elliemae/browserslist-config-elliemae-latest-browsers": "~1.8.0",
70
- "@elliemae/pui-cli": "~8.25.1",
70
+ "@elliemae/pui-cli": "~8.26.0",
71
71
  "@elliemae/pui-doc-gen": "~1.8.0",
72
72
  "@elliemae/pui-theme": "~2.7.0",
73
- "@types/styled-components": "~5.1.30",
73
+ "@types/styled-components": "~5.1.32",
74
74
  "history": "~5.3.0",
75
75
  "redux": "~4.2.1",
76
76
  "redux-saga": "~1.2.3",