ampscript-data 0.1.0 → 0.1.2

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/README.md CHANGED
@@ -6,7 +6,7 @@ This package is the single source of truth consumed by:
6
6
 
7
7
  - [eslint-plugin-sfmc](https://www.npmjs.com/package/eslint-plugin-sfmc) — unknown-function detection and arity validation
8
8
  - [prettier-plugin-sfmc](https://www.npmjs.com/package/prettier-plugin-sfmc) — casing normalization
9
- - [vscode-sfmc-language](https://marketplace.visualstudio.com/items?itemName=joernberkefeld.vscode-sfmc-language) — completions, hover, and diagnostics
9
+ - [VSCode: sfmc-language](https://marketplace.visualstudio.com/items?itemName=joernberkefeld.sfmc-language) — completions, hover, and diagnostics
10
10
 
11
11
  ## Installation
12
12
 
package/package.json CHANGED
@@ -1,13 +1,15 @@
1
1
  {
2
2
  "name": "ampscript-data",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Canonical AMPscript function catalog, keywords, and personalization strings for SFMC tooling",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
7
7
  "exports": {
8
8
  ".": "./src/index.js"
9
9
  },
10
- "files": ["src"],
10
+ "files": [
11
+ "src"
12
+ ],
11
13
  "repository": {
12
14
  "type": "git",
13
15
  "url": "git+https://github.com/JoernBerkefeld/ampscript-data.git"
@@ -26,6 +28,9 @@
26
28
  "personalization"
27
29
  ],
28
30
  "license": "MIT",
31
+ "scripts": {
32
+ "test": "echo No tests defined"
33
+ },
29
34
  "engines": {
30
35
  "node": ">=18.0.0"
31
36
  }
package/src/index.js CHANGED
@@ -412,7 +412,7 @@ export const FUNCTIONS = [
412
412
  description:
413
413
  'Generates a secure, encrypted URL to a CloudPages landing page, optionally passing name-value parameters.',
414
414
  params: [
415
- { name: 'pageId', description: 'CloudPages page ID', type: 'number' },
415
+ { name: 'pageId', description: 'CloudPages page ID (number or string)' },
416
416
  {
417
417
  name: 'paramName',
418
418
  description: 'Query parameter name',
@@ -509,7 +509,7 @@ export const FUNCTIONS = [
509
509
  category: 'Content',
510
510
  description: 'Retrieves and renders a Content Builder content block by its numeric ID.',
511
511
  params: [
512
- { name: 'id', description: 'Content block ID', type: 'number' },
512
+ { name: 'id', description: 'Content block ID (number or string)' },
513
513
  {
514
514
  name: 'impressionRegion',
515
515
  description: 'Impression region name',