@polkadot/x-global
Advanced tools
Comparing version 10.1.12 to 10.1.13
@@ -16,4 +16,4 @@ "use strict"; | ||
type: 'cjs', | ||
version: '10.1.12' | ||
version: '10.1.13' | ||
}; | ||
exports.packageInfo = packageInfo; |
export { packageInfo } from './packageInfo'; | ||
declare type GlobalThis = typeof globalThis & Record<string, unknown>; | ||
declare type GlobalNames = keyof typeof globalThis; | ||
declare type GlobalType<N extends GlobalNames> = typeof globalThis[N]; | ||
type GlobalThis = typeof globalThis & Record<string, unknown>; | ||
type GlobalNames = keyof typeof globalThis; | ||
type GlobalType<N extends GlobalNames> = typeof globalThis[N]; | ||
export declare const xglobal: GlobalThis; | ||
export declare function extractGlobal<N extends GlobalNames, T extends GlobalType<N>>(name: N, fallback: unknown): T; | ||
export declare function exposeGlobal<N extends GlobalNames>(name: N, fallback: unknown): void; |
@@ -20,3 +20,3 @@ { | ||
"type": "module", | ||
"version": "10.1.12", | ||
"version": "10.1.13", | ||
"main": "./cjs/index.js", | ||
@@ -23,0 +23,0 @@ "module": "./index.js", |
@@ -10,3 +10,3 @@ // Copyright 2017-2022 @polkadot/x-global authors & contributors | ||
type: 'esm', | ||
version: '10.1.12' | ||
version: '10.1.13' | ||
}; |
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
5344