@did-pay/util 1.13.14 → 1.13.16

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/es/nft.js +1 -1
  2. package/lib/nft.js +1 -1
  3. package/package.json +12 -2
package/es/nft.js CHANGED
@@ -1,5 +1,5 @@
1
- import last from "lodash/last";
2
1
  import get from "lodash/get";
2
+ import last from "lodash/last";
3
3
  import moment from "moment";
4
4
  const getNftExpirationDate = (asset) => last(get(asset, "data.value.expirationDate", []));
5
5
  const isNFTExpired = (asset) => {
package/lib/nft.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const last = require("lodash/last");
4
3
  const get = require("lodash/get");
4
+ const last = require("lodash/last");
5
5
  const moment = require("moment");
6
6
  const getNftExpirationDate = (asset) => last(get(asset, "data.value.expirationDate", []));
7
7
  const isNFTExpired = (asset) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@did-pay/util",
3
- "version": "1.13.14",
3
+ "version": "1.13.16",
4
4
  "description": "Common library",
5
5
  "keywords": [
6
6
  "util"
@@ -34,6 +34,16 @@
34
34
  "bugs": {
35
35
  "url": "https://github.com/blocklet/payment-kit/issues"
36
36
  },
37
+ "importSort": {
38
+ ".js, .jsx, .mjs": {
39
+ "parser": "babylon",
40
+ "style": "module"
41
+ },
42
+ ".ts, .tsx": {
43
+ "style": "module",
44
+ "parser": "typescript"
45
+ }
46
+ },
37
47
  "dependencies": {
38
48
  "@ocap/util": "^1.18.92",
39
49
  "lodash": "^4.17.21",
@@ -43,5 +53,5 @@
43
53
  "vite": "^4.4.11",
44
54
  "vite-plugin-build": "^0.10.0"
45
55
  },
46
- "gitHead": "81d2650659f395c9326249b46c945060ae659079"
56
+ "gitHead": "c373817d035b5af72e98e333f36922c296be0ea6"
47
57
  }