@prosopo/svelte-procaptcha-wrapper 1.1.5 → 1.1.7

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/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @prosopo/svelte-procaptcha-wrapper
2
2
 
3
+ ## 1.1.7
4
+ ### Patch Changes
5
+
6
+ - Updated dependencies [c8d2743]
7
+ - @prosopo/procaptcha-wrapper@2.6.9
8
+
9
+ ## 1.1.6
10
+ ### Patch Changes
11
+
12
+ - 3573f0b: build using vite, typecheck using tsc
13
+ - Updated dependencies [0f4bc06]
14
+ - Updated dependencies [3573f0b]
15
+ - Updated dependencies [3573f0b]
16
+ - Updated dependencies [efd8102]
17
+ - Updated dependencies [3573f0b]
18
+ - Updated dependencies [2d0dd8a]
19
+ - @prosopo/procaptcha-wrapper@2.6.8
20
+ - @prosopo/config@3.1.1
21
+
3
22
  ## 1.1.5
4
23
  ### Patch Changes
5
24
 
@@ -1,12 +1,4 @@
1
- import type { HTMLAttributes } from "svelte/elements";
2
- import { type ProcaptchaRenderOptions } from "@prosopo/procaptcha-wrapper";
3
- type AllHtmlAttributes = HTMLAttributes<HTMLElement> & {
4
- [key: string]: any;
5
- };
6
- type ProcaptchaComponentProperties = ProcaptchaRenderOptions & {
7
- htmlAttributes?: AllHtmlAttributes;
8
- };
9
- declare const ProcaptchaComponent: import("svelte").Component<ProcaptchaComponentProperties, {}, "">;
1
+ declare const ProcaptchaComponent: import("svelte").Component<any, {}, "">;
10
2
  type ProcaptchaComponent = ReturnType<typeof ProcaptchaComponent>;
11
3
  export default ProcaptchaComponent;
12
4
  //# sourceMappingURL=procaptchaComponent.svelte.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"procaptchaComponent.svelte.d.ts","sourceRoot":"","sources":["../src/procaptchaComponent.svelte.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAC,KAAK,uBAAuB,EAAmB,MAAM,6BAA6B,CAAC;AAGvF,KAAK,iBAAiB,GAAG,cAAc,CAAC,WAAW,CAAC,GAAG;IAEnD,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CACrB,CAAC;AAEF,KAAK,6BAA6B,GAAG,uBAAuB,GAAG;IAC3D,cAAc,CAAC,EAAE,iBAAiB,CAAC;CACtC,CAAC;AAwBN,QAAA,MAAM,mBAAmB,mEAAwC,CAAC;AAClE,KAAK,mBAAmB,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAClE,eAAe,mBAAmB,CAAC"}
1
+ {"version":3,"file":"procaptchaComponent.svelte.d.ts","sourceRoot":"","sources":["../src/procaptchaComponent.svelte.ts"],"names":[],"mappings":"AAuCA,QAAA,MAAM,mBAAmB,yCAAwC,CAAC;AAClE,KAAK,mBAAmB,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAClE,eAAe,mBAAmB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prosopo/svelte-procaptcha-wrapper",
3
- "version": "1.1.5",
3
+ "version": "1.1.7",
4
4
  "type": "module",
5
5
  "engines": {
6
6
  "node": "20",
@@ -11,25 +11,29 @@
11
11
  "exports": {
12
12
  ".": {
13
13
  "types": "./dist/index.d.ts",
14
- "svelte": "./dist/index.js"
14
+ "svelte": "./dist/index.js",
15
+ "import": "./dist/index.js",
16
+ "require": "./dist/cjs/index.cjs"
15
17
  }
16
18
  },
17
19
  "scripts": {
18
- "test": "echo \"No test specified\"",
19
- "clean": "del-cli ./dist && del-cli ./.svelte-kit",
20
+ "test": "echo no tests",
21
+ "clean": "del-cli --verbose dist tsconfig.tsbuildinfo",
20
22
  "svpkg": "svelte-package -i ./src -o ./dist",
21
- "build": "npm run svpkg && del-cli ./.svelte-kit",
23
+ "build": "npm run svpkg && del-cli --verbose ./.svelte-kit",
22
24
  "dev": "npm run svpkg -- -w"
23
25
  },
24
26
  "dependencies": {
25
- "@prosopo/procaptcha-wrapper": "2.6.7"
27
+ "@prosopo/procaptcha-wrapper": "2.6.9",
28
+ "@prosopo/config": "3.1.1"
26
29
  },
27
30
  "peerDependencies": {
28
31
  "svelte": "^5.0.0"
29
32
  },
30
33
  "devDependencies": {
31
34
  "@sveltejs/package": "2.3.10",
32
- "del-cli": "6.0.0"
35
+ "del-cli": "6.0.0",
36
+ "svelte-check": "4.2.2"
33
37
  },
34
38
  "author": "PROSOPO LIMITED <info@prosopo.io>",
35
39
  "license": "Apache-2.0",
@@ -0,0 +1,22 @@
1
+ import path from "node:path";
2
+ // Copyright 2021-2025 Prosopo (UK) Ltd.
3
+ //
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // you may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ //
8
+ // http://www.apache.org/licenses/LICENSE-2.0
9
+ //
10
+ // Unless required by applicable law or agreed to in writing, software
11
+ // distributed under the License is distributed on an "AS IS" BASIS,
12
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ // See the License for the specific language governing permissions and
14
+ // limitations under the License.
15
+ import { ViteCommonJSConfig } from "@prosopo/config";
16
+
17
+ export default function () {
18
+ return ViteCommonJSConfig(
19
+ path.basename("."),
20
+ path.resolve("./tsconfig.json"),
21
+ );
22
+ }
@@ -0,0 +1,20 @@
1
+ // Copyright 2021-2025 Prosopo (UK) Ltd.
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ import path from "node:path";
16
+ import { ViteEsmConfig } from "@prosopo/config";
17
+
18
+ export default function () {
19
+ return ViteEsmConfig(path.basename("."), path.resolve("./tsconfig.json"));
20
+ }