@easy-cms/plugin-backups 1.42.0 → 1.43.0

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2026 Kanawoot K.
3
+ Copyright (c) 2026 Kanawut K.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/dist/index.js CHANGED
@@ -98,7 +98,9 @@ var googleDrive = {
98
98
  required: true
99
99
  }
100
100
  ],
101
- env: { clientId: "GOOGLE_CLIENT_ID", clientSecret: "GOOGLE_CLIENT_SECRET" }
101
+ env: { clientId: "GOOGLE_CLIENT_ID", clientSecret: "GOOGLE_CLIENT_SECRET" },
102
+ // One Google Cloud app for backups and signing in with Google (@easy-cms/auth-oauth).
103
+ shared: "google"
102
104
  },
103
105
  authorizeUrl: ({ redirectUri, state, app }) => {
104
106
  const query = new URLSearchParams({
@@ -266,7 +268,7 @@ var INFO = {
266
268
  name: "@easy-cms/plugin-backups",
267
269
  // The plugin API it is written for (`PLUGIN_API_VERSION` of @easy-cms/core).
268
270
  apiVersion: 1,
269
- ...true ? { version: "1.42.0" } : {}
271
+ ...true ? { version: "1.43.0" } : {}
270
272
  };
271
273
 
272
274
  // src/s3.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easy-cms/plugin-backups",
3
- "version": "1.42.0",
3
+ "version": "1.43.0",
4
4
  "description": "Backup destinations for Easy CMS: Google Drive and S3-compatible storage (Cloudflare R2, Backblaze B2, AWS S3), connected in the admin",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -16,15 +16,15 @@
16
16
  "dist"
17
17
  ],
18
18
  "peerDependencies": {
19
- "@easy-cms/core": "^1.42.0"
19
+ "@easy-cms/core": "^1.43.0"
20
20
  },
21
21
  "dependencies": {
22
- "@easy-cms/storage-s3": "^1.42.0"
22
+ "@easy-cms/storage-s3": "^1.43.0"
23
23
  },
24
24
  "devDependencies": {
25
25
  "simple-icons": "16.36.0",
26
- "@easy-cms/core": "^1.42.0",
27
- "@easy-cms/db-sqlite": "^1.42.0"
26
+ "@easy-cms/core": "^1.43.0",
27
+ "@easy-cms/db-sqlite": "^1.43.0"
28
28
  },
29
29
  "engines": {
30
30
  "node": ">=22.12"