@shipengine/alchemy 6.0.67 → 6.0.68

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.js +25 -33
  2. package/index.mjs +25 -33
  3. package/package.json +1 -1
package/index.js CHANGED
@@ -4905,41 +4905,33 @@ var _getHolder = getHolder$2;
4905
4905
 
4906
4906
  /** Used as references for various `Number` constants. */
4907
4907
 
4908
- var _isIndex;
4909
- var hasRequired_isIndex;
4908
+ var MAX_SAFE_INTEGER$1 = 9007199254740991;
4910
4909
 
4911
- function require_isIndex () {
4912
- if (hasRequired_isIndex) return _isIndex;
4913
- hasRequired_isIndex = 1;
4914
- var MAX_SAFE_INTEGER = 9007199254740991;
4910
+ /** Used to detect unsigned integer values. */
4911
+ var reIsUint = /^(?:0|[1-9]\d*)$/;
4915
4912
 
4916
- /** Used to detect unsigned integer values. */
4917
- var reIsUint = /^(?:0|[1-9]\d*)$/;
4918
-
4919
- /**
4920
- * Checks if `value` is a valid array-like index.
4921
- *
4922
- * @private
4923
- * @param {*} value The value to check.
4924
- * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
4925
- * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
4926
- */
4927
- function isIndex(value, length) {
4928
- var type = typeof value;
4929
- length = length == null ? MAX_SAFE_INTEGER : length;
4930
-
4931
- return !!length &&
4932
- (type == 'number' ||
4933
- (type != 'symbol' && reIsUint.test(value))) &&
4934
- (value > -1 && value % 1 == 0 && value < length);
4935
- }
4913
+ /**
4914
+ * Checks if `value` is a valid array-like index.
4915
+ *
4916
+ * @private
4917
+ * @param {*} value The value to check.
4918
+ * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
4919
+ * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
4920
+ */
4921
+ function isIndex$3(value, length) {
4922
+ var type = typeof value;
4923
+ length = length == null ? MAX_SAFE_INTEGER$1 : length;
4936
4924
 
4937
- _isIndex = isIndex;
4938
- return _isIndex;
4925
+ return !!length &&
4926
+ (type == 'number' ||
4927
+ (type != 'symbol' && reIsUint.test(value))) &&
4928
+ (value > -1 && value % 1 == 0 && value < length);
4939
4929
  }
4940
4930
 
4931
+ var _isIndex = isIndex$3;
4932
+
4941
4933
  var copyArray$2 = _copyArray,
4942
- isIndex$2 = require_isIndex();
4934
+ isIndex$2 = _isIndex;
4943
4935
 
4944
4936
  /* Built-in method references for those with the same name as other `lodash` methods. */
4945
4937
  var nativeMin$1 = Math.min;
@@ -6132,7 +6124,7 @@ var baseTimes = _baseTimes,
6132
6124
  isArguments$2 = requireIsArguments(),
6133
6125
  isArray$f = isArray_1,
6134
6126
  isBuffer$4 = isBufferExports,
6135
- isIndex$1 = require_isIndex(),
6127
+ isIndex$1 = _isIndex,
6136
6128
  isTypedArray$1 = requireIsTypedArray();
6137
6129
 
6138
6130
  /** Used for built-in method references. */
@@ -9463,7 +9455,7 @@ var _baseHasIn = baseHasIn$1;
9463
9455
  var castPath = _castPath,
9464
9456
  isArguments$1 = requireIsArguments(),
9465
9457
  isArray$8 = isArray_1,
9466
- isIndex = require_isIndex(),
9458
+ isIndex = _isIndex,
9467
9459
  isLength = isLength_1,
9468
9460
  toKey$3 = _toKey;
9469
9461
 
@@ -10353,7 +10345,7 @@ function require_isIterateeCall () {
10353
10345
  hasRequired_isIterateeCall = 1;
10354
10346
  var eq = requireEq(),
10355
10347
  isArrayLike = isArrayLike_1,
10356
- isIndex = require_isIndex(),
10348
+ isIndex = _isIndex,
10357
10349
  isObject = isObject_1;
10358
10350
 
10359
10351
  /**
@@ -35167,7 +35159,7 @@ const useListAccountAddons = (params) => {
35167
35159
  onError,
35168
35160
  queryFn: () => client.accountAddons.list(),
35169
35161
  queryKey: ["useListAccountAddons"],
35170
- select: (result) => result.data
35162
+ select: (result) => result.data.addons
35171
35163
  }));
35172
35164
  };
35173
35165
 
package/index.mjs CHANGED
@@ -4883,41 +4883,33 @@ var _getHolder = getHolder$2;
4883
4883
 
4884
4884
  /** Used as references for various `Number` constants. */
4885
4885
 
4886
- var _isIndex;
4887
- var hasRequired_isIndex;
4886
+ var MAX_SAFE_INTEGER$1 = 9007199254740991;
4888
4887
 
4889
- function require_isIndex () {
4890
- if (hasRequired_isIndex) return _isIndex;
4891
- hasRequired_isIndex = 1;
4892
- var MAX_SAFE_INTEGER = 9007199254740991;
4888
+ /** Used to detect unsigned integer values. */
4889
+ var reIsUint = /^(?:0|[1-9]\d*)$/;
4893
4890
 
4894
- /** Used to detect unsigned integer values. */
4895
- var reIsUint = /^(?:0|[1-9]\d*)$/;
4896
-
4897
- /**
4898
- * Checks if `value` is a valid array-like index.
4899
- *
4900
- * @private
4901
- * @param {*} value The value to check.
4902
- * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
4903
- * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
4904
- */
4905
- function isIndex(value, length) {
4906
- var type = typeof value;
4907
- length = length == null ? MAX_SAFE_INTEGER : length;
4908
-
4909
- return !!length &&
4910
- (type == 'number' ||
4911
- (type != 'symbol' && reIsUint.test(value))) &&
4912
- (value > -1 && value % 1 == 0 && value < length);
4913
- }
4891
+ /**
4892
+ * Checks if `value` is a valid array-like index.
4893
+ *
4894
+ * @private
4895
+ * @param {*} value The value to check.
4896
+ * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
4897
+ * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
4898
+ */
4899
+ function isIndex$3(value, length) {
4900
+ var type = typeof value;
4901
+ length = length == null ? MAX_SAFE_INTEGER$1 : length;
4914
4902
 
4915
- _isIndex = isIndex;
4916
- return _isIndex;
4903
+ return !!length &&
4904
+ (type == 'number' ||
4905
+ (type != 'symbol' && reIsUint.test(value))) &&
4906
+ (value > -1 && value % 1 == 0 && value < length);
4917
4907
  }
4918
4908
 
4909
+ var _isIndex = isIndex$3;
4910
+
4919
4911
  var copyArray$2 = _copyArray,
4920
- isIndex$2 = require_isIndex();
4912
+ isIndex$2 = _isIndex;
4921
4913
 
4922
4914
  /* Built-in method references for those with the same name as other `lodash` methods. */
4923
4915
  var nativeMin$1 = Math.min;
@@ -6110,7 +6102,7 @@ var baseTimes = _baseTimes,
6110
6102
  isArguments$2 = requireIsArguments(),
6111
6103
  isArray$f = isArray_1,
6112
6104
  isBuffer$4 = isBufferExports,
6113
- isIndex$1 = require_isIndex(),
6105
+ isIndex$1 = _isIndex,
6114
6106
  isTypedArray$1 = requireIsTypedArray();
6115
6107
 
6116
6108
  /** Used for built-in method references. */
@@ -9441,7 +9433,7 @@ var _baseHasIn = baseHasIn$1;
9441
9433
  var castPath = _castPath,
9442
9434
  isArguments$1 = requireIsArguments(),
9443
9435
  isArray$8 = isArray_1,
9444
- isIndex = require_isIndex(),
9436
+ isIndex = _isIndex,
9445
9437
  isLength = isLength_1,
9446
9438
  toKey$3 = _toKey;
9447
9439
 
@@ -10331,7 +10323,7 @@ function require_isIterateeCall () {
10331
10323
  hasRequired_isIterateeCall = 1;
10332
10324
  var eq = requireEq(),
10333
10325
  isArrayLike = isArrayLike_1,
10334
- isIndex = require_isIndex(),
10326
+ isIndex = _isIndex,
10335
10327
  isObject = isObject_1;
10336
10328
 
10337
10329
  /**
@@ -35145,7 +35137,7 @@ const useListAccountAddons = (params) => {
35145
35137
  onError,
35146
35138
  queryFn: () => client.accountAddons.list(),
35147
35139
  queryKey: ["useListAccountAddons"],
35148
- select: (result) => result.data
35140
+ select: (result) => result.data.addons
35149
35141
  }));
35150
35142
  };
35151
35143
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipengine/alchemy",
3
- "version": "6.0.67",
3
+ "version": "6.0.68",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {