@theholocron/holocron-plugin-cloudflare 3.45.3 → 3.45.4

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 (2) hide show
  1. package/dist/index.mjs +4 -2
  2. package/package.json +3 -3
package/dist/index.mjs CHANGED
@@ -137,13 +137,15 @@ var CloudflareDns = class {
137
137
  type: record.type,
138
138
  name: record.name,
139
139
  content: record.content,
140
- ...record.ttl !== void 0 ? { ttl: record.ttl } : {}
140
+ ...record.ttl !== void 0 ? { ttl: record.ttl } : {},
141
+ ...record.proxied !== void 0 ? { proxied: record.proxied } : {}
141
142
  }));
142
143
  return mapRecord(await this.client.dns.create(zoneId, {
143
144
  type: record.type,
144
145
  name: record.name,
145
146
  content: record.content,
146
- ...record.ttl !== void 0 ? { ttl: record.ttl } : {}
147
+ ...record.ttl !== void 0 ? { ttl: record.ttl } : {},
148
+ ...record.proxied !== void 0 ? { proxied: record.proxied } : {}
147
149
  }));
148
150
  }
149
151
  async deleteRecord(domain, id) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theholocron/holocron-plugin-cloudflare",
3
- "version": "3.45.3",
3
+ "version": "3.45.4",
4
4
  "description": "Holocron plugin for Cloudflare. Implements the dns capability against Cloudflare's REST API — zone resolution, DNS record management.",
5
5
  "keywords": [
6
6
  "cloudflare",
@@ -46,11 +46,11 @@
46
46
  "tsx": "4.23.12",
47
47
  "typescript": "^5.9.3",
48
48
  "vitest": "^4.1.10",
49
- "@theholocron/cli": "3.45.3"
49
+ "@theholocron/cli": "3.45.4"
50
50
  },
51
51
  "peerDependencies": {
52
52
  "@theholocron/cloudflare-client": "^1.12.0",
53
- "@theholocron/cli": "3.45.3"
53
+ "@theholocron/cli": "3.45.4"
54
54
  },
55
55
  "peerDependenciesMeta": {
56
56
  "@theholocron/cloudflare-client": {}