Comparing version
{ | ||
"name": "@disjukr/bunja", | ||
"version": "2.0.0-alpha.6", | ||
"version": "2.0.0-alpha.7", | ||
"license": "Zlib", | ||
@@ -5,0 +5,0 @@ "exports": { |
@@ -13,7 +13,3 @@ import { Bunja, BunjaStore, HashFn, Scope, ScopeValuePair } from "./bunja-CqyhNWOx.js"; | ||
declare function useBunja<T>(bunja: Bunja<T>, scopeValuePairs?: ScopeValuePair<any>[]): T; | ||
/** | ||
* @deprecated use `scopeValuePairs` parameter directly in `useBunja` instead. | ||
*/ | ||
declare function inject(scopeValuePairs: ScopeValuePair<any>[]): ScopeValuePair<any>[]; | ||
//#endregion | ||
export { BunjaStoreContext, BunjaStoreProvider, bindScope, createScopeFromContext, inject, scopeContextMap, useBunja }; | ||
export { BunjaStoreContext, BunjaStoreProvider, bindScope, createScopeFromContext, scopeContextMap, useBunja }; |
@@ -40,10 +40,4 @@ "use client"; | ||
} | ||
/** | ||
* @deprecated use `scopeValuePairs` parameter directly in `useBunja` instead. | ||
*/ | ||
function inject(scopeValuePairs) { | ||
return scopeValuePairs; | ||
} | ||
//#endregion | ||
export { BunjaStoreContext, BunjaStoreProvider, bindScope, createScopeFromContext, inject, scopeContextMap, useBunja }; | ||
export { BunjaStoreContext, BunjaStoreProvider, bindScope, createScopeFromContext, scopeContextMap, useBunja }; |
{ | ||
"name": "bunja", | ||
"type": "module", | ||
"version": "2.0.0-alpha.6", | ||
"version": "2.0.0-alpha.8", | ||
"description": "State Lifetime Manager", | ||
@@ -6,0 +6,0 @@ "main": "dist/bunja.cjs", |
@@ -71,10 +71,1 @@ "use client"; | ||
} | ||
/** | ||
* @deprecated use `scopeValuePairs` parameter directly in `useBunja` instead. | ||
*/ | ||
export function inject( | ||
scopeValuePairs: ScopeValuePair<any>[], | ||
): ScopeValuePair<any>[] { | ||
return scopeValuePairs; | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
-100%66148
-1.35%1842
-1.34%