@keystrokehq/opencage 0.1.3 → 0.1.5
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/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/geocode-forward.cjs +1 -0
- package/dist/actions/geocode-forward.cjs.map +1 -1
- package/dist/actions/geocode-forward.d.cts +3 -13
- package/dist/actions/geocode-forward.d.cts.map +1 -1
- package/dist/actions/geocode-forward.d.mts +3 -13
- package/dist/actions/geocode-forward.d.mts.map +1 -1
- package/dist/actions/geocode-forward.mjs +1 -0
- package/dist/actions/geocode-forward.mjs.map +1 -1
- package/dist/actions/geocode-geojson.cjs +1 -0
- package/dist/actions/geocode-geojson.cjs.map +1 -1
- package/dist/actions/geocode-geojson.d.cts +3 -15
- package/dist/actions/geocode-geojson.d.cts.map +1 -1
- package/dist/actions/geocode-geojson.d.mts +3 -15
- package/dist/actions/geocode-geojson.d.mts.map +1 -1
- package/dist/actions/geocode-geojson.mjs +1 -0
- package/dist/actions/geocode-geojson.mjs.map +1 -1
- package/dist/actions/geocode-geojsonp.cjs +1 -0
- package/dist/actions/geocode-geojsonp.cjs.map +1 -1
- package/dist/actions/geocode-geojsonp.d.cts +3 -16
- package/dist/actions/geocode-geojsonp.d.cts.map +1 -1
- package/dist/actions/geocode-geojsonp.d.mts +3 -16
- package/dist/actions/geocode-geojsonp.d.mts.map +1 -1
- package/dist/actions/geocode-geojsonp.mjs +1 -0
- package/dist/actions/geocode-geojsonp.mjs.map +1 -1
- package/dist/actions/geocode-google-v3-json.cjs +1 -0
- package/dist/actions/geocode-google-v3-json.cjs.map +1 -1
- package/dist/actions/geocode-google-v3-json.d.cts +3 -16
- package/dist/actions/geocode-google-v3-json.d.cts.map +1 -1
- package/dist/actions/geocode-google-v3-json.d.mts +3 -16
- package/dist/actions/geocode-google-v3-json.d.mts.map +1 -1
- package/dist/actions/geocode-google-v3-json.mjs +1 -0
- package/dist/actions/geocode-google-v3-json.mjs.map +1 -1
- package/dist/actions/geocode-reverse.cjs +1 -0
- package/dist/actions/geocode-reverse.cjs.map +1 -1
- package/dist/actions/geocode-reverse.d.cts +3 -13
- package/dist/actions/geocode-reverse.d.cts.map +1 -1
- package/dist/actions/geocode-reverse.d.mts +3 -13
- package/dist/actions/geocode-reverse.d.mts.map +1 -1
- package/dist/actions/geocode-reverse.mjs +1 -0
- package/dist/actions/geocode-reverse.mjs.map +1 -1
- package/dist/actions/geocode-xml.cjs +1 -0
- package/dist/actions/geocode-xml.cjs.map +1 -1
- package/dist/actions/geocode-xml.d.cts +3 -13
- package/dist/actions/geocode-xml.d.cts.map +1 -1
- package/dist/actions/geocode-xml.d.mts +3 -13
- package/dist/actions/geocode-xml.d.mts.map +1 -1
- package/dist/actions/geocode-xml.mjs +1 -0
- package/dist/actions/geocode-xml.mjs.map +1 -1
- package/dist/actions/ping-opencage.cjs +1 -0
- package/dist/actions/ping-opencage.cjs.map +1 -1
- package/dist/actions/ping-opencage.d.cts +3 -1
- package/dist/actions/ping-opencage.d.cts.map +1 -1
- package/dist/actions/ping-opencage.d.mts +3 -1
- package/dist/actions/ping-opencage.d.mts.map +1 -1
- package/dist/actions/ping-opencage.mjs +1 -0
- package/dist/actions/ping-opencage.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
package/dist/app.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const opencage = defineApp({\n slug: \"opencage\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,YAAA,
|
|
1
|
+
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_key: z.string(),\n};\n\nexport const opencage: KeystrokeApp<\"opencage\", typeof credential> = defineApp({\n slug: \"opencage\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,0BAAaA,CAAAA,CAAAA,EAAE,OAAO,EACxB;AAEA,MAAa,YAAA,GAAA,2BAAA,UAAA,CAAkE;CAC7E,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
|
package/dist/app.d.cts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
|
|
1
4
|
//#region src/app.d.ts
|
|
2
|
-
declare const
|
|
5
|
+
declare const credential: {
|
|
6
|
+
generic_key: z.ZodString;
|
|
7
|
+
};
|
|
8
|
+
declare const opencage: KeystrokeApp<"opencage", typeof credential>;
|
|
3
9
|
//#endregion
|
|
4
10
|
export { opencage };
|
|
5
11
|
//# sourceMappingURL=app.d.cts.map
|
package/dist/app.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;eAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,QAAA,EAAU,YAAY,oBAAoB,UAAA"}
|
package/dist/app.d.mts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
|
|
1
4
|
//#region src/app.d.ts
|
|
2
|
-
declare const
|
|
5
|
+
declare const credential: {
|
|
6
|
+
generic_key: z.ZodString;
|
|
7
|
+
};
|
|
8
|
+
declare const opencage: KeystrokeApp<"opencage", typeof credential>;
|
|
3
9
|
//#endregion
|
|
4
10
|
export { opencage };
|
|
5
11
|
//# sourceMappingURL=app.d.mts.map
|
package/dist/app.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;eAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,QAAA,EAAU,YAAY,oBAAoB,UAAA"}
|
package/dist/app.mjs
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { defineApp } from "@keystrokehq/keystroke/app";
|
|
2
|
-
|
|
2
|
+
import { z } from "zod";
|
|
3
3
|
const opencage = defineApp({
|
|
4
4
|
slug: "opencage",
|
|
5
|
-
auth: "keystroke"
|
|
5
|
+
auth: "keystroke",
|
|
6
|
+
credential: { generic_key: z.string() }
|
|
6
7
|
});
|
|
7
8
|
//#endregion
|
|
8
9
|
export { opencage };
|
package/dist/app.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const opencage = defineApp({\n slug: \"opencage\",\n auth: \"keystroke\",\n});\n"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_key: z.string(),\n};\n\nexport const opencage: KeystrokeApp<\"opencage\", typeof credential> = defineApp({\n slug: \"opencage\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,WAAwD,UAAU;CAC7E,MAAM;CACN,MAAM;CACN,cANA,aAAa,EAAE,OAAO,EAMtB;AACF,CAAC"}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { opencage } from "./app.cjs";
|
|
1
2
|
import { opencageGeocodeForward } from "./actions/geocode-forward.cjs";
|
|
2
3
|
import { opencageGeocodeGeojson } from "./actions/geocode-geojson.cjs";
|
|
3
4
|
import { opencageGeocodeGeojsonp } from "./actions/geocode-geojsonp.cjs";
|
|
@@ -5,6 +6,5 @@ import { opencageGeocodeGoogleV3Json } from "./actions/geocode-google-v3-json.cj
|
|
|
5
6
|
import { opencageGeocodeReverse } from "./actions/geocode-reverse.cjs";
|
|
6
7
|
import { opencageGeocodeXml } from "./actions/geocode-xml.cjs";
|
|
7
8
|
import { opencagePingOpencage } from "./actions/ping-opencage.cjs";
|
|
8
|
-
import { opencage } from "./app.cjs";
|
|
9
9
|
import { opencageCatalog } from "./catalog.cjs";
|
|
10
10
|
export { opencage, opencageCatalog, opencageGeocodeForward, opencageGeocodeGeojson, opencageGeocodeGeojsonp, opencageGeocodeGoogleV3Json, opencageGeocodeReverse, opencageGeocodeXml, opencagePingOpencage };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { opencage } from "./app.mjs";
|
|
1
2
|
import { opencageGeocodeForward } from "./actions/geocode-forward.mjs";
|
|
2
3
|
import { opencageGeocodeGeojson } from "./actions/geocode-geojson.mjs";
|
|
3
4
|
import { opencageGeocodeGeojsonp } from "./actions/geocode-geojsonp.mjs";
|
|
@@ -5,6 +6,5 @@ import { opencageGeocodeGoogleV3Json } from "./actions/geocode-google-v3-json.mj
|
|
|
5
6
|
import { opencageGeocodeReverse } from "./actions/geocode-reverse.mjs";
|
|
6
7
|
import { opencageGeocodeXml } from "./actions/geocode-xml.mjs";
|
|
7
8
|
import { opencagePingOpencage } from "./actions/ping-opencage.mjs";
|
|
8
|
-
import { opencage } from "./app.mjs";
|
|
9
9
|
import { opencageCatalog } from "./catalog.mjs";
|
|
10
10
|
export { opencage, opencageCatalog, opencageGeocodeForward, opencageGeocodeGeojson, opencageGeocodeGeojsonp, opencageGeocodeGoogleV3Json, opencageGeocodeReverse, opencageGeocodeXml, opencagePingOpencage };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/opencage",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@keystrokehq/keystroke": ">=0.1.
|
|
34
|
+
"@keystrokehq/keystroke": ">=0.1.104",
|
|
35
35
|
"zod": "^4.4.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|