create-api-hooks
Advanced tools
Comparing version 0.0.48 to 0.0.49
@@ -16,3 +16,3 @@ import { useEffect, useState, useCallback, useRef } from 'react'; | ||
// @ts-ignore | ||
var localStorage = global.localStorage || process.env.REMAX_PLATFORM === 'wecaht' ? wx.getStorageSync : process.env.REMAX_PLATFORM === 'ali' ? my.getStorageSync : sessionStorage; | ||
var localStorage = global.localStorage || (process.env.REMAX_PLATFORM === 'wecaht' ? wx.getStorageSync : process.env.REMAX_PLATFORM === 'ali' ? my.getStorageSync : sessionStorage); | ||
var localStore = { | ||
@@ -19,0 +19,0 @@ setItem: function (name, value) { |
@@ -20,3 +20,3 @@ 'use strict'; | ||
// @ts-ignore | ||
var localStorage = global.localStorage || process.env.REMAX_PLATFORM === 'wecaht' ? wx.getStorageSync : process.env.REMAX_PLATFORM === 'ali' ? my.getStorageSync : sessionStorage; | ||
var localStorage = global.localStorage || (process.env.REMAX_PLATFORM === 'wecaht' ? wx.getStorageSync : process.env.REMAX_PLATFORM === 'ali' ? my.getStorageSync : sessionStorage); | ||
var localStore = { | ||
@@ -23,0 +23,0 @@ setItem: function (name, value) { |
{ | ||
"name": "create-api-hooks", | ||
"version": "0.0.48", | ||
"version": "0.0.49", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "author": "mushan0x0", |
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
45976