@numerum-tech/yeriasdk 1.0.1 → 1.0.3

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 ADDED
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or Derivative
95
+ Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and do
117
+ not modify the License. You may add Your own attribution notices
118
+ within Derivative Works that You distribute, alongside or as an
119
+ addendum to the NOTICE text from the Work, provided that such
120
+ additional attribution notices cannot be construed as modifying
121
+ the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2026 Numerum
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
package/NOTICE ADDED
@@ -0,0 +1,7 @@
1
+ Yeria SDK
2
+ Copyright 2026 Numerum
3
+
4
+ This product is developed and maintained by Numerum (https://numerum.tech).
5
+
6
+ Licensed under the Apache License, Version 2.0. See the LICENSE file
7
+ for the full license text.
package/README.md CHANGED
@@ -1,8 +1,10 @@
1
- > **Note**: This is the JavaScript/TypeScript port of the JSONApp SDK. This repository is a monorepo containing multiple language implementations. See the [root README](../README.md) for an overview.
1
+ > **Note**: This is the JavaScript/TypeScript port of the Yeria SDK. This repository is a monorepo containing multiple language implementations. See the [root README](../README.md) for an overview.
2
2
 
3
3
 
4
4
  Un SDK TypeScript moderne et optimisé pour générer des interfaces JSON dynamiques, avec support avancé pour les formulaires, la lecture de données, les actions, les QR codes, les messages et l'affichage de données.
5
5
 
6
+ 🌐 Site web : [yeria.app](https://yeria.app)
7
+
6
8
  ## 🚀 Fonctionnalités
7
9
 
8
10
  - **Formulaires dynamiques** avec validation avancée
@@ -41,7 +43,7 @@ npm install @numerum-tech/yeriasdk
41
43
  ### Formulaires
42
44
 
43
45
  ```typescript
44
- import { FormView } from '@yeria/jsonapp-sdk';
46
+ import { FormView } from '@numerum-tech/yeriasdk';
45
47
 
46
48
  // Le titre est passé au constructeur (id, title)
47
49
  const form = new FormView('user-registration', 'User Registration')
@@ -74,7 +76,7 @@ const formSimple = new FormView('user-registration', 'User Registration')
74
76
  ### Injection de Données (Formulaires d'Édition)
75
77
 
76
78
  ```typescript
77
- import { FormView } from '@yeria/jsonapp-sdk';
79
+ import { FormView } from '@numerum-tech/yeriasdk';
78
80
 
79
81
  // Méthode 1: injectData() - Injection Globale (RECOMMANDÉ)
80
82
  // Parfait pour formulaires d'édition avec données depuis API/DB
@@ -137,7 +139,7 @@ const form = new FormView('form', 'Form')
137
139
  ### Lecteurs de Données (Contenu Riche)
138
140
 
139
141
  ```typescript
140
- import { ReaderView } from '@yeria/jsonapp-sdk';
142
+ import { ReaderView } from '@numerum-tech/yeriasdk';
141
143
 
142
144
  // ReaderView affiche du contenu riche (pas des formulaires)
143
145
  // Le titre est passé au constructeur (id, title)
@@ -184,7 +186,7 @@ const tutorial1 = new ReaderView('tutorial-1', 'Tutorial - Getting Started')
184
186
  ### Listes d'Actions
185
187
 
186
188
  ```typescript
187
- import { ActionListView } from '@yeria/jsonapp-sdk';
189
+ import { ActionListView } from '@numerum-tech/yeriasdk';
188
190
 
189
191
  // Le titre est passé au constructeur (viewId, viewTitle)
190
192
  const actionList = new ActionListView('main-menu', 'Main Menu')
@@ -198,7 +200,7 @@ console.log(actionList.toJSON());
198
200
  ### Grilles d'Actions
199
201
 
200
202
  ```typescript
201
- import { ActionGridView } from '@yeria/jsonapp-sdk';
203
+ import { ActionGridView } from '@numerum-tech/yeriasdk';
202
204
 
203
205
  // Le titre est passé au constructeur (viewId, viewTitle)
204
206
  const actionGrid = new ActionGridView('dashboard', 'Dashboard')
@@ -216,7 +218,7 @@ console.log(actionGrid.toJSON());
216
218
  **Note** : Version 2.0 - API simplifiée. Le rendu mobile gère toute l'implémentation du scanner (caméra, torche, mise au point, formats).
217
219
 
218
220
  ```typescript
219
- import { QRScanView } from '@yeria/jsonapp-sdk';
221
+ import { QRScanView } from '@numerum-tech/yeriasdk';
220
222
 
221
223
  // Auto-soumission simple (scan → POST immédiat)
222
224
  const quickScan = new QRScanView('scan-ticket', 'Scan Your Ticket')
@@ -272,7 +274,7 @@ console.log(quickScan.toJSON());
272
274
  ### Affichage de QR Codes
273
275
 
274
276
  ```typescript
275
- import { QRDisplayView } from '@yeria/jsonapp-sdk';
277
+ import { QRDisplayView } from '@numerum-tech/yeriasdk';
276
278
 
277
279
  const qrDisplay = new QRDisplayView('qr-display', 'QR Code Display')
278
280
  .setIntro('Your QR codes are ready to scan')
@@ -290,7 +292,7 @@ console.log(qrDisplay.toJSON());
290
292
  ### Messages
291
293
 
292
294
  ```typescript
293
- import { MessageView } from '@yeria/jsonapp-sdk';
295
+ import { MessageView } from '@numerum-tech/yeriasdk';
294
296
 
295
297
  const message = new MessageView('maintenance-alert', 'Scheduled maintenance')
296
298
  .setIntro('Heads up!')
@@ -306,7 +308,7 @@ console.log(message.toJSON());
306
308
  ### Cartes Produit (CardView)
307
309
 
308
310
  ```typescript
309
- import { CardView } from '@yeria/jsonapp-sdk';
311
+ import { CardView } from '@numerum-tech/yeriasdk';
310
312
 
311
313
  const productCard = new CardView('product-card', 'Super Gadget')
312
314
  .setSubtitle('Boostez votre journée')
@@ -324,7 +326,7 @@ console.log(productCard.toJSON());
324
326
  ### Carrousels (CarouselView)
325
327
 
326
328
  ```typescript
327
- import { CarouselView } from '@yeria/jsonapp-sdk';
329
+ import { CarouselView } from '@numerum-tech/yeriasdk';
328
330
 
329
331
  const highlights = new CarouselView('home-carousel', 'Mises en avant')
330
332
  .addSlide(
@@ -347,7 +349,7 @@ console.log(highlights.toJSON());
347
349
  ### Timelines (TimelineView)
348
350
 
349
351
  ```typescript
350
- import { TimelineView } from '@yeria/jsonapp-sdk';
352
+ import { TimelineView } from '@numerum-tech/yeriasdk';
351
353
 
352
354
  const onboarding = new TimelineView('onboarding-flow', 'Votre progression')
353
355
  .setIntro('Suivez vos étapes de mise en service')
@@ -361,7 +363,7 @@ console.log(onboarding.toJSON());
361
363
  ### Médias (MediaView)
362
364
 
363
365
  ```typescript
364
- import { MediaView } from '@yeria/jsonapp-sdk';
366
+ import { MediaView } from '@numerum-tech/yeriasdk';
365
367
 
366
368
  const tutorials = new MediaView('media-library', 'Tutoriels express')
367
369
  .setIntro('Apprenez en quelques minutes')
@@ -384,7 +386,7 @@ console.log(tutorials.toJSON());
384
386
  ### Cartes interactives (MapView)
385
387
 
386
388
  ```typescript
387
- import { MapView } from '@yeria/jsonapp-sdk';
389
+ import { MapView } from '@numerum-tech/yeriasdk';
388
390
 
389
391
  const storeMap = new MapView('stores-map', 'Boutiques partenaires')
390
392
  .setViewport({ lat: 48.8566, lon: 2.3522 }, { zoom: 12 })
@@ -409,48 +411,48 @@ console.log(storeMap.toJSON());
409
411
  Envoyer des notifications signées aux utilisateurs via la plateforme City-Mate :
410
412
 
411
413
  ```typescript
412
- import { JsonApp } from 'jsonapp-js';
414
+ import { YeriaApp } from '@numerum-tech/yeriasdk';
413
415
 
414
- const jsonApp = new JsonApp({
416
+ const yeriaApp = new YeriaApp({
415
417
  appId: 'my-backend-service',
416
418
  platformUrl: 'https://platform.yeria.com/api/notifications' // Optionnel: peut aussi être passé par appel
417
419
  });
418
420
 
419
421
  // Créer et envoyer une notification
420
- const notification = jsonApp
422
+ const notification = yeriaApp
421
423
  .createNotification('user-123', 'Bienvenue !', 'Merci d\'avoir rejoint City-Mate')
422
424
  .setLink('/welcome');
423
425
 
424
- await jsonApp.sendNotification(notification);
426
+ await yeriaApp.sendNotification(notification);
425
427
  ```
426
428
 
427
- ### JsonApp sécurisé
429
+ ### YeriaApp sécurisé
428
430
 
429
431
  ```typescript
430
- import { JsonApp } from '@yeria/jsonapp-sdk';
432
+ import { YeriaApp } from '@numerum-tech/yeriasdk';
431
433
 
432
- const jsonApp = new JsonApp({
434
+ const yeriaApp = new YeriaApp({
433
435
  appId: 'my-backend-service',
434
436
  viewExpirationMinutes: 30
435
437
  });
436
438
 
437
- const form = jsonApp
439
+ const form = yeriaApp
438
440
  .createFormView('user-registration', 'User Registration')
439
441
  .addTextField('email', 'Email', true)
440
442
  .addPasswordField('password', 'Password', 8)
441
443
  .submitButton('Register', 'POST');
442
444
 
443
- const secureResponse = jsonApp.serve(form);
445
+ const secureResponse = yeriaApp.serve(form);
444
446
  console.log('Signature:', secureResponse.signature);
445
- console.log('Integrity check:', jsonApp.verifyIntegrity(secureResponse));
447
+ console.log('Integrity check:', yeriaApp.verifyIntegrity(secureResponse));
446
448
  ```
447
449
 
448
- > ℹ️ **JsonApp est stateless** : il ne conserve plus les vues créées. Gardez vos instances (ex: dans un tableau) si vous devez les servir plus tard.
450
+ > ℹ️ **YeriaApp est stateless** : il ne conserve plus les vues créées. Gardez vos instances (ex: dans un tableau) si vous devez les servir plus tard.
449
451
 
450
- Vous pouvez également signer une vue sans instancier JsonApp grâce au helper statique :
452
+ Vous pouvez également signer une vue sans instancier YeriaApp grâce au helper statique :
451
453
 
452
454
  ```typescript
453
- import { JsonApp, FormView } from '@yeria/jsonapp-sdk';
455
+ import { YeriaApp, FormView } from '@numerum-tech/yeriasdk';
454
456
 
455
457
  const privateKey = process.env.PRIVATE_KEY!; // clé PEM Ed25519
456
458
  const publicKey = process.env.PUBLIC_KEY!;
@@ -460,9 +462,9 @@ const manualForm = new FormView('manual', 'Manual Form')
460
462
  .submitButton('Save', 'POST');
461
463
 
462
464
  const payload = manualForm.toJSON();
463
- const signed = JsonApp.signView(payload, 'my-backend-service', privateKey);
465
+ const signed = YeriaApp.signView(payload, 'my-backend-service', privateKey);
464
466
 
465
- console.log('Signature valide ?', JsonApp.verifySignature(publicKey, signed));
467
+ console.log('Signature valide ?', YeriaApp.verifySignature(publicKey, signed));
466
468
  ```
467
469
 
468
470
  ## 🧭 Workflows Multi-Étapes (Process Context)
@@ -470,7 +472,7 @@ console.log('Signature valide ?', JsonApp.verifySignature(publicKey, signed));
470
472
  Le SDK supporte les processus multi-étapes avec suivi de progression via `belongsToProcess()`.
471
473
 
472
474
  ```typescript
473
- import { FormView } from '@yeria/jsonapp-sdk';
475
+ import { FormView } from '@numerum-tech/yeriasdk';
474
476
 
475
477
  // Étape 1 : Bienvenue
476
478
  const step1 = new FormView('welcome', 'Welcome!', 'user-onboarding')
@@ -518,33 +520,33 @@ The SDK provides a **flexible, pluggable logging system** that is **silent by de
518
520
  #### **Silent Mode (Default - Production)**
519
521
 
520
522
  ```typescript
521
- import { JsonApp } from '@yeria/jsonapp-sdk';
523
+ import { YeriaApp } from '@numerum-tech/yeriasdk';
522
524
 
523
525
  // No logger = SilentLogger (no logs in production)
524
- const app = new JsonApp({ appId: 'my-app' });
526
+ const app = new YeriaApp({ appId: 'my-app' });
525
527
  // Clean, professional - no console pollution
526
528
  ```
527
529
 
528
530
  #### **Console Logger (Development)**
529
531
 
530
532
  ```typescript
531
- import { JsonApp, ConsoleLogger } from '@yeria/jsonapp-sdk';
533
+ import { YeriaApp, ConsoleLogger } from '@numerum-tech/yeriasdk';
532
534
 
533
535
  // Opt-in to console logging for debugging
534
- const app = new JsonApp({
536
+ const app = new YeriaApp({
535
537
  appId: 'my-app',
536
538
  logger: new ConsoleLogger('info') // 'debug' | 'info' | 'warn' | 'error'
537
539
  });
538
540
 
539
541
  // Logs appear for important operations:
540
- // [2025-10-25T10:30:00.000Z] [JsonApp INFO] JsonApp initialized
541
- // [2025-10-25T10:30:00.001Z] [JsonApp INFO] View served securely
542
+ // [2025-10-25T10:30:00.000Z] [YeriaApp INFO] YeriaApp initialized
543
+ // [2025-10-25T10:30:00.001Z] [YeriaApp INFO] View served securely
542
544
  ```
543
545
 
544
546
  #### **Custom Logger (Integration with Existing Systems)**
545
547
 
546
548
  ```typescript
547
- import { JsonApp, ILogger } from '@yeria/jsonapp-sdk';
549
+ import { YeriaApp, ILogger } from '@numerum-tech/yeriasdk';
548
550
 
549
551
  // Integrate with Sentry, Winston, Datadog, etc.
550
552
  const customLogger: ILogger = {
@@ -554,7 +556,7 @@ const customLogger: ILogger = {
554
556
  error: (msg, ctx) => winston.error(msg, ctx)
555
557
  };
556
558
 
557
- const app = new JsonApp({
559
+ const app = new YeriaApp({
558
560
  appId: 'my-app',
559
561
  logger: customLogger // All SDK logs use your logger
560
562
  });
@@ -563,23 +565,23 @@ const app = new JsonApp({
563
565
  #### **Environment-Based Logging**
564
566
 
565
567
  ```typescript
566
- import { JsonApp, ConsoleLogger, SilentLogger } from '@yeria/jsonapp-sdk';
568
+ import { YeriaApp, ConsoleLogger, SilentLogger } from '@numerum-tech/yeriasdk';
567
569
 
568
570
  const logger = process.env['NODE_ENV'] === 'development'
569
571
  ? new ConsoleLogger('debug')
570
572
  : new SilentLogger();
571
573
 
572
- const app = new JsonApp({ appId: 'my-app', logger });
574
+ const app = new YeriaApp({ appId: 'my-app', logger });
573
575
  ```
574
576
 
575
577
  #### **Legacy Logger (Backward Compatibility)**
576
578
 
577
579
  ```typescript
578
- import { Logger } from '@yeria/jsonapp-sdk';
580
+ import { Logger } from '@numerum-tech/yeriasdk';
579
581
 
580
582
  // Old API still works (deprecated)
581
583
  Logger.getInstance().setLogLevel('info');
582
- Logger.info('JsonApp ready');
584
+ Logger.info('YeriaApp ready');
583
585
  ```
584
586
 
585
587
  See [LOGGER_ARCHITECTURE.md](./LOGGER_ARCHITECTURE.md) for complete documentation.
@@ -587,7 +589,7 @@ See [LOGGER_ARCHITECTURE.md](./LOGGER_ARCHITECTURE.md) for complete documentatio
587
589
  ### Validation
588
590
 
589
591
  ```typescript
590
- import { FieldValidator, DataSanitizer } from '@yeria/jsonapp-sdk';
592
+ import { FieldValidator, DataSanitizer } from '@numerum-tech/yeriasdk';
591
593
 
592
594
  // Validation de configuration de champ
593
595
  const fieldCheck = FieldValidator.validateField('email', 'email', 'Email', {
@@ -850,7 +852,7 @@ form.addTextField('name', 'Full Name', true); // ✅ Recommandé
850
852
 
851
853
  ## 📄 Licence
852
854
 
853
- Ce projet est sous licence MIT. Voir le fichier `LICENSE` pour plus de détails.
855
+ Ce projet est sous licence Apache 2.0. Voir les fichiers `LICENSE` et `NOTICE` pour plus de détails. Copyright 2026 Numerum.
854
856
 
855
857
  ## 🆘 Support
856
858
 
@@ -861,4 +863,4 @@ Pour toute question ou problème :
861
863
 
862
864
  ---
863
865
 
864
- **JSONApp SDK** - Génération d'interfaces JSON dynamiques simplifiée 🚀
866
+ **Yeria SDK** - Génération d'interfaces JSON dynamiques simplifiée 🚀
@@ -10,11 +10,11 @@
10
10
  //
11
11
  // Providers wire it into their own auth middleware:
12
12
  //
13
- // import { JsonApp, YeriaKeyStore } from '@numerum-tech/yeriasdk';
13
+ // import { YeriaApp, YeriaKeyStore } from '@numerum-tech/yeriasdk';
14
14
  //
15
15
  // const keys = new YeriaKeyStore({ baseUrl: process.env.YERIA_BASE_URL });
16
16
  //
17
- // const claims = await JsonApp.verifyUserTokenWithResolver(
17
+ // const claims = await YeriaApp.verifyUserTokenWithResolver(
18
18
  // bearer,
19
19
  // (kid) => keys.getByKid(kid),
20
20
  // MY_SERVICE_ID
@@ -1 +1 @@
1
- {"version":3,"file":"key-store.js","sourceRoot":"","sources":["../../src/core/key-store.ts"],"names":[],"mappings":";AAAA,0EAA0E;AAC1E,uCAAuC;AACvC,EAAE;AACF,8EAA8E;AAC9E,sEAAsE;AACtE,wEAAwE;AACxE,uEAAuE;AACvE,gBAAgB;AAChB,EAAE;AACF,oDAAoD;AACpD,EAAE;AACF,qEAAqE;AACrE,EAAE;AACF,6EAA6E;AAC7E,EAAE;AACF,8DAA8D;AAC9D,gBAAgB;AAChB,qCAAqC;AACrC,sBAAsB;AACtB,OAAO;AACP,EAAE;AACF,qEAAqE;AACrE,mEAAmE;AACnE,sBAAsB;;;AAkCtB,MAAM,cAAc,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;AAEtC,MAAa,aAAa;IAMtB,YAAY,IAA0B;QAFrB,UAAK,GAAG,IAAI,GAAG,EAAsB,CAAC;QAGnD,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC;YACzB,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;QAC1D,CAAC;QACD,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;QAChD,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,IAAI,cAAc,CAAC;QAC1C,MAAM,CAAC,GAAG,IAAI,CAAC,KAAK,IAAI,UA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S,aAAa,CAAC,IAAa;IAChC,IAAI,CAAC,IAAI,IAAI,OAAO,IAAI,KAAK,QAAQ;QAAE,OAAO,IAAI,CAAC;IACnD,MAAM,CAAC,GAAG,IAA+B,CAAC;IAC1C,IAAI,CAAC,CAAC,QAAQ,CAAC,IAAI,OAAO,CAAC,CAAC,QAAQ,CAAC,KAAK,QAAQ,EAAE,CAAC;QACjD,OAAO,CAAC,CAAC,QAAQ,CAA4B,CAAC;IAClD,CAAC;IACD,iEAAiE;IACjE,IAAI,OAAO,CAAC,CAAC,OAAO,CAAC,KAAK,QAAQ;QAAE,OAAO,CAAC,CAAC;IAC7C,OAAO,IAAI,CAAC;AAChB,CAAC"}
@@ -13,7 +13,7 @@ import { MediaView } from './media-view';
13
13
  import { MapView } from './map-view';
14
14
  import { Notification } from './notification';
15
15
  import { SecureNotificationResponse } from '../types';
16
- export interface JsonAppConfig {
16
+ export interface YeriaAppConfig {
17
17
  appId: string;
18
18
  privateKey?: string;
19
19
  publicKey?: string;
@@ -24,7 +24,7 @@ export interface JsonAppConfig {
24
24
  }
25
25
  /**
26
26
  * What `serve()` returns. The whole object goes on the wire as a JSON
27
- * envelope — `res.json(jsonApp.serve(view))`. The signature CANNOT be
27
+ * envelope — `res.json(yeriaApp.serve(view))`. The signature CANNOT be
28
28
  * forgotten because it lives in the structure itself, not in a header.
29
29
  *
30
30
  * `payload` is a JSON string (already serialised) — it's the bytes that
@@ -71,7 +71,7 @@ export interface UserTokenClaims {
71
71
  */
72
72
  export type YeriaPublicKeyResolver = (kid: string) => Promise<string | null>;
73
73
  /**
74
- * Projection returned by `JsonApp.fetchUserProfile`. The current Yeria
74
+ * Projection returned by `YeriaApp.fetchUserProfile`. The current Yeria
75
75
  * scope is intentionally minimal; the per-service `service_access.profile_scopes`
76
76
  * work will widen this set without changing the field names.
77
77
  */
@@ -81,11 +81,11 @@ export interface UserProfile {
81
81
  last_name: string | null;
82
82
  country_code: string | null;
83
83
  }
84
- export declare class JsonApp {
84
+ export declare class YeriaApp {
85
85
  private config;
86
86
  private privateKey;
87
87
  private publicKey;
88
- constructor(config: JsonAppConfig);
88
+ constructor(config: YeriaAppConfig);
89
89
  /**
90
90
  * Crée une vue de formulaire sécurisée
91
91
  */
@@ -144,7 +144,7 @@ export declare class JsonApp {
144
144
  * - The new public key becomes Active on Yeria.
145
145
  * - The old key keeps validating signatures for ~5 minutes (grace
146
146
  * window so in-flight signed responses still verify).
147
- * - This JsonApp instance is mutated to use the new keypair locally.
147
+ * - This YeriaApp instance is mutated to use the new keypair locally.
148
148
  *
149
149
  * @param yeriaApiBaseUrl - Yeria registry root, e.g. `https://yeria.app`
150
150
  * @param serviceId - The service id assigned by Yeria
@@ -163,8 +163,8 @@ export declare class JsonApp {
163
163
  * enveloppe `{payload, signature}` à envoyer telle quelle au client.
164
164
  *
165
165
  * Usage côté provider (Express) :
166
- * res.json(jsonApp.serve(view));
167
- * res.status(400).json(jsonApp.serve(errorMessage));
166
+ * res.json(yeriaApp.serve(view));
167
+ * res.status(400).json(yeriaApp.serve(errorMessage));
168
168
  *
169
169
  * La signature est dans la structure de retour — impossible de
170
170
  * l'oublier en l'envoyant. Le client vérifie sur `payload` (string)
@@ -193,7 +193,7 @@ export declare class JsonApp {
193
193
  */
194
194
  static verifySignature(publicKey: string, payload: string, signature: string, onError?: (error: Error) => void): boolean;
195
195
  /**
196
- * Génère statiquement une enveloppe signée sans instance JsonApp.
196
+ * Génère statiquement une enveloppe signée sans instance YeriaApp.
197
197
  */
198
198
  static signView(view: Record<string, unknown>, appId: string, privateKey: string, timestamp?: number): SignedEnvelope;
199
199
  /**
@@ -241,7 +241,7 @@ export declare class JsonApp {
241
241
  *
242
242
  * let user = await db.users.findByYeriaSub(claims.sub);
243
243
  * if (!user) {
244
- * const profile = await JsonApp.fetchUserProfile({
244
+ * const profile = await YeriaApp.fetchUserProfile({
245
245
  * baseUrl: process.env.YERIA_BASE_URL,
246
246
  * serviceId: MY_SERVICE_ID,
247
247
  * userId: claims.sub,
@@ -260,4 +260,4 @@ export declare class JsonApp {
260
260
  fetch?: typeof fetch;
261
261
  }): Promise<UserProfile>;
262
262
  }
263
- //# sourceMappingURL=jsonapp.d.ts.map
263
+ //# sourceMappingURL=yeria-app.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"yeria-app.d.ts","sourceRoot":"","sources":["../../src/core/yeria-app.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AASrC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAGtD,MAAM,WAAW,cAAc;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,WAAW,CAAC,EA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