@onflow/sdk-build-get-latest-block
Advanced tools
Comparing version 0.0.0 to 0.0.2
@@ -5,4 +5,12 @@ ### Unreleased | ||
### 0.0.2 -- 2021-02-02 | ||
- 2021-02-02 -- VSN `@onflow/interaction` 0.0.10 -> 0.0.11 | ||
### 0.0.1 -- 2021-02-02 | ||
- 2021-02-02 -- **BREAKING** Deprecates this builder. | ||
### 0.0.0 -- 2020-09-29 | ||
- 2020-09-29 -- Initial port from sdk. |
@@ -1,2 +0,2 @@ | ||
var e=require("@onflow/interaction");exports.getLatestBlock=function(t){return void 0===t&&(t=!1),e.pipe([e.makeGetLatestBlock,function(o){return o.block.isSealed=t,e.Ok(o)}])}; | ||
var e=require("@onflow/interaction");exports.getLatestBlock=function(n){return void 0===n&&(n=!1),console.warn("\n %cFCL/SDK Deprecation Notice\n ============================\n\n The getLatestBlock builder has been deprecated and will be removed in future versions of the Flow JS-SDK/FCL.\n You can learn more (including a guide on common transition paths) here: https://github.com/onflow/flow-js-sdk/blob/master/packages/sdk/TRANSITIONS.md#0006-deprecate-get-latest-block-builder\n\n ============================\n ","font-weight:bold;font-family:monospace;"),e.pipe([e.makeGetLatestBlock,function(o){return o.block.isSealed=n,e.Ok(o)}])}; | ||
//# sourceMappingURL=sdk-build-get-latest-block.js.map |
@@ -1,2 +0,2 @@ | ||
import{pipe as o,makeGetLatestBlock as n,Ok as r}from"@onflow/interaction";function t(t=!1){return o([n,o=>(o.block.isSealed=t,r(o))])}export{t as getLatestBlock}; | ||
import{pipe as e,makeGetLatestBlock as o,Ok as n}from"@onflow/interaction";function t(t=!1){return console.warn("\n %cFCL/SDK Deprecation Notice\n ============================\n\n The getLatestBlock builder has been deprecated and will be removed in future versions of the Flow JS-SDK/FCL.\n You can learn more (including a guide on common transition paths) here: https://github.com/onflow/flow-js-sdk/blob/master/packages/sdk/TRANSITIONS.md#0006-deprecate-get-latest-block-builder\n\n ============================\n ","font-weight:bold;font-family:monospace;"),e([o,e=>(e.block.isSealed=t,n(e))])}export{t as getLatestBlock}; | ||
//# sourceMappingURL=sdk-build-get-latest-block.modern.js.map |
@@ -1,2 +0,2 @@ | ||
import{pipe as o,makeGetLatestBlock as n,Ok as r}from"@onflow/interaction";function t(t){return void 0===t&&(t=!1),o([n,function(o){return o.block.isSealed=t,r(o)}])}export{t as getLatestBlock}; | ||
import{pipe as e,makeGetLatestBlock as n,Ok as o}from"@onflow/interaction";function t(t){return void 0===t&&(t=!1),console.warn("\n %cFCL/SDK Deprecation Notice\n ============================\n\n The getLatestBlock builder has been deprecated and will be removed in future versions of the Flow JS-SDK/FCL.\n You can learn more (including a guide on common transition paths) here: https://github.com/onflow/flow-js-sdk/blob/master/packages/sdk/TRANSITIONS.md#0006-deprecate-get-latest-block-builder\n\n ============================\n ","font-weight:bold;font-family:monospace;"),e([n,function(e){return e.block.isSealed=t,o(e)}])}export{t as getLatestBlock}; | ||
//# sourceMappingURL=sdk-build-get-latest-block.module.js.map |
@@ -1,2 +0,2 @@ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@onflow/interaction")):"function"==typeof define&&define.amd?define(["exports","@onflow/interaction"],t):t((e=e||self).sdkBuildGetLatestBlock={},e.interaction)}(this,function(e,t){e.getLatestBlock=function(e){return void 0===e&&(e=!1),t.pipe([t.makeGetLatestBlock,function(n){return n.block.isSealed=e,t.Ok(n)}])}}); | ||
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("@onflow/interaction")):"function"==typeof define&&define.amd?define(["exports","@onflow/interaction"],n):n((e=e||self).sdkBuildGetLatestBlock={},e.interaction)}(this,function(e,n){e.getLatestBlock=function(e){return void 0===e&&(e=!1),console.warn("\n %cFCL/SDK Deprecation Notice\n ============================\n\n The getLatestBlock builder has been deprecated and will be removed in future versions of the Flow JS-SDK/FCL.\n You can learn more (including a guide on common transition paths) here: https://github.com/onflow/flow-js-sdk/blob/master/packages/sdk/TRANSITIONS.md#0006-deprecate-get-latest-block-builder\n\n ============================\n ","font-weight:bold;font-family:monospace;"),n.pipe([n.makeGetLatestBlock,function(t){return t.block.isSealed=e,n.Ok(t)}])}}); | ||
//# sourceMappingURL=sdk-build-get-latest-block.umd.js.map |
{ | ||
"name": "@onflow/sdk-build-get-latest-block", | ||
"version": "0.0.0", | ||
"version": "0.0.2", | ||
"description": "Flow JS SDK Builder -- Get Latest Block", | ||
@@ -27,3 +27,3 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@onflow/interaction": "0.0.10" | ||
"@onflow/interaction": "0.0.11" | ||
}, | ||
@@ -30,0 +30,0 @@ "source": "src/index.js", |
import {pipe, Ok, makeGetLatestBlock} from "@onflow/interaction" | ||
export function getLatestBlock(isSealed = false) { | ||
console.warn( | ||
` | ||
%cFCL/SDK Deprecation Notice | ||
============================ | ||
The getLatestBlock builder has been deprecated and will be removed in future versions of the Flow JS-SDK/FCL. | ||
You can learn more (including a guide on common transition paths) here: https://github.com/onflow/flow-js-sdk/blob/master/packages/sdk/TRANSITIONS.md#0006-deprecate-get-latest-block-builder | ||
============================ | ||
`, | ||
"font-weight:bold;font-family:monospace;" | ||
) | ||
return pipe([ | ||
@@ -5,0 +19,0 @@ makeGetLatestBlock, |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 2 instances 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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
9591
40
3
1
+ Added@onflow/interaction@0.0.11(transitive)
- Removed@onflow/interaction@0.0.10(transitive)
Updated@onflow/interaction@0.0.11