@based/client
Advanced tools
Comparing version 5.1.0 to 5.2.0
@@ -16,2 +16,6 @@ import connectWebsocket from './websocket/index.js'; | ||
export { BasedQuery }; | ||
// global polyfill | ||
if (typeof window !== 'undefined' && typeof global === 'undefined') { | ||
window.global = window; | ||
} | ||
export class BasedClient extends Emitter { | ||
@@ -59,3 +63,2 @@ constructor(opts, settings) { | ||
maxCacheSize = 5e7; // 50MB | ||
// cacheExpiry: number = 1e3 * 60 * 60 // 1 hour | ||
cache = new Map(); | ||
@@ -62,0 +65,0 @@ // --------- Function State |
{ | ||
"name": "@based/client", | ||
"version": "5.1.0", | ||
"version": "5.2.0", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "scripts": { |
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
188602
3060