@types/salesforce__canvas-js-sdk
Advanced tools
Comparing version 1.41.1 to 1.41.2
@@ -20,4 +20,11 @@ // Type definitions for @salesforce/canvas-js-sdk 1.41 | ||
interface Response<T> { | ||
readonly seq: number; | ||
readonly parentVersion: string; | ||
readonly clientVersion: string; | ||
readonly payload: T; | ||
readonly status: number; | ||
readonly payload?: T | undefined; | ||
readonly statusText: string; | ||
readonly responseHeaders: string; | ||
readonly type: string; | ||
readonly targetModule: string; | ||
} | ||
@@ -359,3 +366,3 @@ | ||
function ctx(callback: (msg: Response<Context>) => void, client: Client): void; | ||
function ctx(callback: (msg: Response<Context | string>) => void, client: Client): void; | ||
@@ -382,3 +389,3 @@ function ajax(url: string, settings: AjaxSettings): void; | ||
function refreshSignedRequest(cb: (data: Response<string>) => void): void; | ||
function refreshSignedRequest(cb: (data: Response<{ response: string }>) => void): void; | ||
@@ -413,2 +420,3 @@ function repost(refresh?: boolean): void; | ||
readonly display?: string | undefined; | ||
readonly scope?: string | undefined; | ||
} | ||
@@ -415,0 +423,0 @@ |
{ | ||
"name": "@types/salesforce__canvas-js-sdk", | ||
"version": "1.41.1", | ||
"version": "1.41.2", | ||
"description": "TypeScript definitions for @salesforce/canvas-js-sdk", | ||
@@ -23,4 +23,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/salesforce__canvas-js-sdk", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "2a0e7dd47055cf425275f2f6f7cfdb73f46a4266b3b45d6ce6dc487e7b7b0635", | ||
"typesPublisherContentHash": "c3b823274ecf3aeb4f30e04d9033ab4d41247d5bd4faadb5ddc2d612505f3cb4", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 06 Jul 2021 16:34:12 GMT | ||
* Last updated: Tue, 27 Jul 2021 18:01:29 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: `Sfdc` |
19319
350