@prodigio-io/sdk 1.0.3 → 1.0.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.
- package/dist/index.d.mts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +7 -2
- package/dist/index.mjs +7 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -103,6 +103,10 @@ declare class Prodigio {
|
|
|
103
103
|
submit: (params: SubmitApplicationParams) => Promise<ApplicationResult>;
|
|
104
104
|
};
|
|
105
105
|
static badge(poweredBy: PoweredBy): BadgeProps;
|
|
106
|
+
static meta(): {
|
|
107
|
+
name: string;
|
|
108
|
+
content: string;
|
|
109
|
+
};
|
|
106
110
|
}
|
|
107
111
|
|
|
108
112
|
export { type Achievement, type Applicant, type ApplicationResult, type BadgeProps, type CVInfo, type Job, type ListJobsParams, type PoweredBy, Prodigio, type ProdigioConfig, ProdigioError, type SalaryRange, type SubmitApplicationParams, type UploadResult, Prodigio as default };
|
package/dist/index.d.ts
CHANGED
|
@@ -103,6 +103,10 @@ declare class Prodigio {
|
|
|
103
103
|
submit: (params: SubmitApplicationParams) => Promise<ApplicationResult>;
|
|
104
104
|
};
|
|
105
105
|
static badge(poweredBy: PoweredBy): BadgeProps;
|
|
106
|
+
static meta(): {
|
|
107
|
+
name: string;
|
|
108
|
+
content: string;
|
|
109
|
+
};
|
|
106
110
|
}
|
|
107
111
|
|
|
108
112
|
export { type Achievement, type Applicant, type ApplicationResult, type BadgeProps, type CVInfo, type Job, type ListJobsParams, type PoweredBy, Prodigio, type ProdigioConfig, ProdigioError, type SalaryRange, type SubmitApplicationParams, type UploadResult, Prodigio as default };
|
package/dist/index.js
CHANGED
|
@@ -123,8 +123,7 @@ var Prodigio = class {
|
|
|
123
123
|
return res.json();
|
|
124
124
|
}
|
|
125
125
|
// ── Badge ─────────────────────────────────────────────────────────────────
|
|
126
|
-
// Returns props to spread onto your <a> element.
|
|
127
|
-
// attribute is required for compliance detection.
|
|
126
|
+
// Returns props to spread onto your <a> element.
|
|
128
127
|
static badge(poweredBy) {
|
|
129
128
|
return {
|
|
130
129
|
href: poweredBy.url,
|
|
@@ -134,6 +133,12 @@ var Prodigio = class {
|
|
|
134
133
|
text: poweredBy.text
|
|
135
134
|
};
|
|
136
135
|
}
|
|
136
|
+
// Returns the <meta> tag props for server-rendered compliance verification.
|
|
137
|
+
// Add to your page <head> — this is the most reliable detection method.
|
|
138
|
+
// Next.js: export const metadata = { other: { 'prodigio-badge': 'true' } }
|
|
139
|
+
static meta() {
|
|
140
|
+
return { name: "prodigio-badge", content: "true" };
|
|
141
|
+
}
|
|
137
142
|
};
|
|
138
143
|
var index_default = Prodigio;
|
|
139
144
|
// Annotate the CommonJS export names for ESM import in node:
|
package/dist/index.mjs
CHANGED
|
@@ -97,8 +97,7 @@ var Prodigio = class {
|
|
|
97
97
|
return res.json();
|
|
98
98
|
}
|
|
99
99
|
// ── Badge ─────────────────────────────────────────────────────────────────
|
|
100
|
-
// Returns props to spread onto your <a> element.
|
|
101
|
-
// attribute is required for compliance detection.
|
|
100
|
+
// Returns props to spread onto your <a> element.
|
|
102
101
|
static badge(poweredBy) {
|
|
103
102
|
return {
|
|
104
103
|
href: poweredBy.url,
|
|
@@ -108,6 +107,12 @@ var Prodigio = class {
|
|
|
108
107
|
text: poweredBy.text
|
|
109
108
|
};
|
|
110
109
|
}
|
|
110
|
+
// Returns the <meta> tag props for server-rendered compliance verification.
|
|
111
|
+
// Add to your page <head> — this is the most reliable detection method.
|
|
112
|
+
// Next.js: export const metadata = { other: { 'prodigio-badge': 'true' } }
|
|
113
|
+
static meta() {
|
|
114
|
+
return { name: "prodigio-badge", content: "true" };
|
|
115
|
+
}
|
|
111
116
|
};
|
|
112
117
|
var index_default = Prodigio;
|
|
113
118
|
export {
|