@myjsblock/sdk
Advanced tools
Comparing version 0.2.0-beta.5 to 0.2.0-beta.6
/** | ||
* @myjsblock/sdk v0.2.0-beta.5 - MIT | ||
* @myjsblock/sdk v0.2.0-beta.6 - MIT | ||
*/ | ||
@@ -93,3 +93,3 @@ | ||
arguments: args, | ||
version: "0.2.0-beta.5", | ||
version: "0.2.0-beta.6", | ||
}); | ||
@@ -96,0 +96,0 @@ }); |
/** | ||
* @myjsblock/sdk v0.2.0-beta.5 - MIT | ||
* @myjsblock/sdk v0.2.0-beta.6 - MIT | ||
*/ | ||
@@ -89,3 +89,3 @@ | ||
arguments: args, | ||
version: "0.2.0-beta.5", | ||
version: "0.2.0-beta.6", | ||
}); | ||
@@ -92,0 +92,0 @@ }); |
@@ -1,4 +0,2 @@ | ||
interface GetBlockNameResult { | ||
name: string; | ||
} | ||
declare type GetBlockNameResult = string; | ||
/** | ||
@@ -5,0 +3,0 @@ * Get the name of the current block. |
/** | ||
* @myjsblock/sdk v0.2.0-beta.5 - MIT | ||
* @myjsblock/sdk v0.2.0-beta.6 - MIT | ||
*/ | ||
@@ -4,0 +4,0 @@ |
/** | ||
* @myjsblock/sdk v0.2.0-beta.5 - MIT | ||
* @myjsblock/sdk v0.2.0-beta.6 - MIT | ||
*/ | ||
@@ -4,0 +4,0 @@ |
/** | ||
* @myjsblock/sdk v0.2.0-beta.5 - MIT | ||
* @myjsblock/sdk v0.2.0-beta.6 - MIT | ||
*/ | ||
@@ -4,0 +4,0 @@ |
/** | ||
* @myjsblock/sdk v0.2.0-beta.5 - MIT | ||
* @myjsblock/sdk v0.2.0-beta.6 - MIT | ||
*/ | ||
@@ -4,0 +4,0 @@ |
/** | ||
* @myjsblock/sdk v0.2.0-beta.5 - MIT | ||
* @myjsblock/sdk v0.2.0-beta.6 - MIT | ||
*/ | ||
@@ -4,0 +4,0 @@ |
/** | ||
* @myjsblock/sdk v0.2.0-beta.5 - MIT | ||
* @myjsblock/sdk v0.2.0-beta.6 - MIT | ||
*/ | ||
@@ -4,0 +4,0 @@ |
/** | ||
* @myjsblock/sdk v0.2.0-beta.5 - MIT | ||
* @myjsblock/sdk v0.2.0-beta.6 - MIT | ||
*/ | ||
@@ -4,0 +4,0 @@ |
/** | ||
* @myjsblock/sdk v0.2.0-beta.5 - MIT | ||
* @myjsblock/sdk v0.2.0-beta.6 - MIT | ||
*/ | ||
@@ -4,0 +4,0 @@ |
/** | ||
* @myjsblock/sdk v0.2.0-beta.5 - MIT | ||
* @myjsblock/sdk v0.2.0-beta.6 - MIT | ||
*/ | ||
@@ -4,0 +4,0 @@ |
/** | ||
* @myjsblock/sdk v0.2.0-beta.5 - MIT | ||
* @myjsblock/sdk v0.2.0-beta.6 - MIT | ||
*/ | ||
@@ -4,0 +4,0 @@ |
/** | ||
* @myjsblock/sdk v0.2.0-beta.5 - MIT | ||
* @myjsblock/sdk v0.2.0-beta.6 - MIT | ||
*/ | ||
@@ -4,0 +4,0 @@ |
/** | ||
* @myjsblock/sdk v0.2.0-beta.5 - MIT | ||
* @myjsblock/sdk v0.2.0-beta.6 - MIT | ||
*/ | ||
@@ -4,0 +4,0 @@ |
/** | ||
* @myjsblock/sdk v0.2.0-beta.5 - MIT | ||
* @myjsblock/sdk v0.2.0-beta.6 - MIT | ||
*/ | ||
@@ -4,0 +4,0 @@ |
/** | ||
* @myjsblock/sdk v0.2.0-beta.5 - MIT | ||
* @myjsblock/sdk v0.2.0-beta.6 - MIT | ||
*/ | ||
@@ -36,3 +36,3 @@ | ||
arguments: args, | ||
version: "0.2.0-beta.5", | ||
version: "0.2.0-beta.6", | ||
}); | ||
@@ -39,0 +39,0 @@ }); |
/** | ||
* @myjsblock/sdk v0.2.0-beta.5 - MIT | ||
* @myjsblock/sdk v0.2.0-beta.6 - MIT | ||
*/ | ||
@@ -4,0 +4,0 @@ |
/** | ||
* @myjsblock/sdk v0.2.0-beta.5 - MIT | ||
* @myjsblock/sdk v0.2.0-beta.6 - MIT | ||
*/ | ||
@@ -4,0 +4,0 @@ |
/** | ||
* @myjsblock/sdk v0.2.0-beta.5 - MIT | ||
* @myjsblock/sdk v0.2.0-beta.6 - MIT | ||
*/ | ||
@@ -4,0 +4,0 @@ |
/** | ||
* @myjsblock/sdk v0.2.0-beta.5 - MIT | ||
* @myjsblock/sdk v0.2.0-beta.6 - MIT | ||
*/ | ||
@@ -4,0 +4,0 @@ |
/** | ||
* @myjsblock/sdk v0.2.0-beta.5 - MIT | ||
* @myjsblock/sdk v0.2.0-beta.6 - MIT | ||
*/ | ||
@@ -4,0 +4,0 @@ |
@@ -1,4 +0,2 @@ | ||
interface GetBlockNameResult { | ||
name: string; | ||
} | ||
declare type GetBlockNameResult = string; | ||
/** | ||
@@ -5,0 +3,0 @@ * Get the name of the current block. |
/** | ||
* @myjsblock/sdk v0.2.0-beta.5 - MIT | ||
* @myjsblock/sdk v0.2.0-beta.6 - MIT | ||
*/ | ||
@@ -95,3 +95,3 @@ | ||
arguments: args, | ||
version: "0.2.0-beta.5", | ||
version: "0.2.0-beta.6", | ||
}); | ||
@@ -98,0 +98,0 @@ }); |
/** | ||
* @myjsblock/sdk v0.2.0-beta.5 - MIT | ||
* @myjsblock/sdk v0.2.0-beta.6 - MIT | ||
*/ | ||
"use strict";!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self)["myjsblock-sdk"]={})}(this,(function(e){let t="object"==typeof window.flutter_inappwebview,o=t?window.myjsblock:window;var r,a;console.debug("Messaging API:",""+(t?"in app":"iframe")),(a=r||(r={})).TIMEOUT_EXCEEDED="TIMEOUT_EXCEEDED",a.NO_VALUE_RETURNED="NO_VALUE_RETURNED",a.UNKNOWN_FUNCTION="UNKNOWN_FUNCTION";let s=(e,a)=>new Promise(((s,n)=>{const i=Date.now().toString(36)+Math.random().toString(36).substring(2);((e,t,a=1e4)=>{let s;const n=r=>{r.source!==window&&(r=JSON.parse(r.data)).requestId===e&&(t(r),o.removeEventListener("message",n),s&&clearTimeout(s))};s=setTimeout((()=>{t({requestId:e,error:r.TIMEOUT_EXCEEDED,message:"Timeout exceeded, no response from the App"}),o.removeEventListener("message",n)}),a),o.addEventListener("message",n)})(i,(e=>{if(console.debug("Received:",e),"error"in e){const t=Error(e.message);t.name=String(e.error).toUpperCase(),"traceId"in e&&(t.message=`${t.message}, traceId: ${e.traceId}`),n(t)}else"value"in e?s(e.value):((e=Error("No response value returned.")).name=r.NO_VALUE_RETURNED,n(e))})),(e=>{console.debug("POST:",e),e=JSON.stringify(e),t?o.postMessage(e):window.parent.postMessage(e,"*")})({id:i,functionName:e,arguments:a,version:"0.2.0-beta.5"})}));var n;!function(e){e.getBlockName="getBlockName",e.getProperty="getProperty",e.getImageUrl="getImageUrl",e.showLoader="showLoader",e.hideLoader="hideLoader",e.getRecords="getRecords",e.getCurrentRecord="getCurrentRecord",e.showAlert="showAlert",e.goBack="goBack",e.navigate="navigate",e.pickImage="pickImage",e.getUserInfo="getUserInfo"}(n||(n={}));var i,g,d,E=n;(i||(i={})).OPERATION_NOT_ALLOWED="OPERATION_NOT_ALLOWED",function(e){e.MISSING_CONTEXT="MISSING_CONTEXT",e.WEBSERVICE_ERROR="WEBSERVICE_ERROR"}(g||(g={})),(d||(d={})).OPERATION_CANCELLED="OPERATION_CANCELLED",e.getBlockName=()=>s(E.getProperty,{name:"caption"}),e.getCurrentRecord=()=>s(E.getCurrentRecord),e.getImageUrl=(e,{width:t=null,height:o=null})=>s(E.getImageUrl,{imageId:e,width:t,height:o}),e.getProperty=e=>s(E.getProperty,{name:e}),e.getRecords=(e,t)=>s(E.getRecords,{variableName:e,parameters:t}),e.getUserInfo=()=>s(E.getUserInfo),e.goBack=()=>s(E.goBack),e.hideLoader=()=>s(E.hideLoader),e.navigate=(e,t)=>s(E.navigate,{variableName:e,properties:t}),e.pickImage=(e={quality:100},t=!0,o=!0)=>s(E.pickImage,{maxWidth:e.maxWidth,maxHeight:e.maxHeight,quality:e.quality,showCameraOption:t,showGalleryOption:o}),e.showAlert=(e,t="",o=["OK"])=>s(E.showAlert,{title:e,message:t,buttons:o}),e.showLoader=()=>s(E.showLoader),Object.defineProperty(e,"__esModule",{value:!0})})); | ||
"use strict";!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self)["myjsblock-sdk"]={})}(this,(function(e){let t="object"==typeof window.flutter_inappwebview,o=t?window.myjsblock:window;var r,a;console.debug("Messaging API:",""+(t?"in app":"iframe")),(a=r||(r={})).TIMEOUT_EXCEEDED="TIMEOUT_EXCEEDED",a.NO_VALUE_RETURNED="NO_VALUE_RETURNED",a.UNKNOWN_FUNCTION="UNKNOWN_FUNCTION";let s=(e,a)=>new Promise(((s,n)=>{const i=Date.now().toString(36)+Math.random().toString(36).substring(2);((e,t,a=1e4)=>{let s;const n=r=>{r.source!==window&&(r=JSON.parse(r.data)).requestId===e&&(t(r),o.removeEventListener("message",n),s&&clearTimeout(s))};s=setTimeout((()=>{t({requestId:e,error:r.TIMEOUT_EXCEEDED,message:"Timeout exceeded, no response from the App"}),o.removeEventListener("message",n)}),a),o.addEventListener("message",n)})(i,(e=>{if(console.debug("Received:",e),"error"in e){const t=Error(e.message);t.name=String(e.error).toUpperCase(),"traceId"in e&&(t.message=`${t.message}, traceId: ${e.traceId}`),n(t)}else"value"in e?s(e.value):((e=Error("No response value returned.")).name=r.NO_VALUE_RETURNED,n(e))})),(e=>{console.debug("POST:",e),e=JSON.stringify(e),t?o.postMessage(e):window.parent.postMessage(e,"*")})({id:i,functionName:e,arguments:a,version:"0.2.0-beta.6"})}));var n;!function(e){e.getBlockName="getBlockName",e.getProperty="getProperty",e.getImageUrl="getImageUrl",e.showLoader="showLoader",e.hideLoader="hideLoader",e.getRecords="getRecords",e.getCurrentRecord="getCurrentRecord",e.showAlert="showAlert",e.goBack="goBack",e.navigate="navigate",e.pickImage="pickImage",e.getUserInfo="getUserInfo"}(n||(n={}));var i,g,d,E=n;(i||(i={})).OPERATION_NOT_ALLOWED="OPERATION_NOT_ALLOWED",function(e){e.MISSING_CONTEXT="MISSING_CONTEXT",e.WEBSERVICE_ERROR="WEBSERVICE_ERROR"}(g||(g={})),(d||(d={})).OPERATION_CANCELLED="OPERATION_CANCELLED",e.getBlockName=()=>s(E.getProperty,{name:"caption"}),e.getCurrentRecord=()=>s(E.getCurrentRecord),e.getImageUrl=(e,{width:t=null,height:o=null})=>s(E.getImageUrl,{imageId:e,width:t,height:o}),e.getProperty=e=>s(E.getProperty,{name:e}),e.getRecords=(e,t)=>s(E.getRecords,{variableName:e,parameters:t}),e.getUserInfo=()=>s(E.getUserInfo),e.goBack=()=>s(E.goBack),e.hideLoader=()=>s(E.hideLoader),e.navigate=(e,t)=>s(E.navigate,{variableName:e,properties:t}),e.pickImage=(e={quality:100},t=!0,o=!0)=>s(E.pickImage,{maxWidth:e.maxWidth,maxHeight:e.maxHeight,quality:e.quality,showCameraOption:t,showGalleryOption:o}),e.showAlert=(e,t="",o=["OK"])=>s(E.showAlert,{title:e,message:t,buttons:o}),e.showLoader=()=>s(E.showLoader),Object.defineProperty(e,"__esModule",{value:!0})})); | ||
//# sourceMappingURL=myjsblock-sdk.min.js.map |
{ | ||
"name": "@myjsblock/sdk", | ||
"version": "0.2.0-beta.5", | ||
"version": "0.2.0-beta.6", | ||
"description": "Javascript SDK that will allow you to build your own AppMachine block", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
217761
87
5003