@perk-net/perk-pushplus-sdk 1.1.0 → 1.1.1
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.
- package/dist/index.cjs +3 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +19 -4
- package/dist/index.d.ts +19 -4
- package/dist/index.global.js +3 -1
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/config.ts +1 -1
- package/src/enums.ts +4 -0
- package/src/index.ts +1 -0
- package/src/models.ts +14 -2
package/dist/index.cjs
CHANGED
|
@@ -23,6 +23,8 @@ var Template = /* @__PURE__ */ ((Template2) => {
|
|
|
23
23
|
Template2["ROUTE"] = "route";
|
|
24
24
|
Template2["PAY"] = "pay";
|
|
25
25
|
Template2["FORM"] = "form";
|
|
26
|
+
Template2["DOC"] = "doc";
|
|
27
|
+
Template2["EXCEL"] = "excel";
|
|
26
28
|
return Template2;
|
|
27
29
|
})(Template || {});
|
|
28
30
|
var SendStatus = /* @__PURE__ */ ((SendStatus2) => {
|
|
@@ -1136,7 +1138,7 @@ function resolveConfig(input) {
|
|
|
1136
1138
|
logRequest: (_g = cfg.logRequest) != null ? _g : false,
|
|
1137
1139
|
rateLimitGuardEnabled: (_h = cfg.rateLimitGuardEnabled) != null ? _h : true,
|
|
1138
1140
|
rateLimitCooldownMs: (_i = cfg.rateLimitCooldownMs) != null ? _i : 0,
|
|
1139
|
-
userAgent: (_j = cfg.userAgent) != null ? _j : `@perk-net/perk-pushplus-sdk/1.1.
|
|
1141
|
+
userAgent: (_j = cfg.userAgent) != null ? _j : `@perk-net/perk-pushplus-sdk/1.1.1`
|
|
1140
1142
|
};
|
|
1141
1143
|
}
|
|
1142
1144
|
|