miijs 2.5.1 → 2.5.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/ideal.jsonc ADDED
@@ -0,0 +1,91 @@
1
+ {
2
+ "general":{
3
+ "type":0,//[Normal,Favorite,Foreign,Special]
4
+ "gender":0,//["Male","Female"],
5
+ "favoriteColor":0,//["Red","Orange","Yellow","Lime","Green","Blue","Cyan","Pink","Purple","Brown","White","Black"]
6
+ "birthday":"4",
7
+ "birthMonth":"17",
8
+ "height":100,//Conversion from feet?
9
+ "weight":55//Conversion from pounds, indexed to height?
10
+ },
11
+ "meta":{
12
+ "creatorName":"",
13
+ "name":"",
14
+ "console":"",
15
+ "miiId":"148",
16
+ "systemId":"148"
17
+ },
18
+ "perms":{
19
+ "mingle":true,
20
+ "sharing":true,
21
+ "copying":true,
22
+ "fromCheckMiiOut":false
23
+ },
24
+ "face":{
25
+ "type":0,
26
+ "color":0,//["White","Tanned White","Darker White","Tanned Darker","Mostly Black","Black"],
27
+ "feature":0,//["None","Blush","Makeup and Blush","Freckles","Bags","Wrinkles on Cheeks","Wrinkles near Eyes","Chin Wrinkle","Makeup","Stubble","Wrinkles near Mouth","Wrinkles"], ["None","Near Eye Creases","Cheek Creases","Far Eye Creases","Near Nose Creases","Giant Bags","Cleft Chin","Chin Crease","Sunken Eyes","Far Cheek Creases","Lines Near Eyes","Wrinkles"]
28
+ "makeup":0//["None","Blush","Orange Blush","Blue Eyes","Blush 2","Orange Blush 2","Blue Eyes and Blush","Orange Eyes and Blush","Purple Eyes and Blush 2","Freckles","Beard Stubble","Beard and Mustache Stubble"]
29
+ },
30
+ "nose": {
31
+ "page": 0,
32
+ "type": 0,
33
+ "size": 4,
34
+ "yPosition": 8
35
+ },
36
+ "mouth":{
37
+ "page":0,
38
+ "type":0,
39
+ "size":0,
40
+ "yPosition":0,
41
+ "squash":0,
42
+ "color":0//["Peach","Red","Pink"], ["Orange","Red","Pink","Peach","Black"]
43
+ },
44
+ "mole": {
45
+ "on": false,
46
+ "size": 4,
47
+ "xPosition": 2,
48
+ "yPosition": 20
49
+ },
50
+ "hair":{
51
+ "page":0,
52
+ "type":0,
53
+ "color":0,//["Black","Brown","Red","Reddish Brown","Grey","Light Brown","Dark Blonde","Blonde"]
54
+ "flipped":false
55
+ },
56
+ "eyebrows":{
57
+ "page":0,
58
+ "type":0,
59
+ "rotation":0,
60
+ "size":0,
61
+ "yPosition":0,
62
+ "distanceApart":0,
63
+ "squash":0,
64
+ "color":0//["Black","Brown","Red","Reddish Brown","Grey","Light Brown","Dark Blonde","Blonde"]
65
+ },
66
+ "eyes":{
67
+ "page":0,
68
+ "type":0,
69
+ "rotation":0,
70
+ "yPosition":0,
71
+ "size":0,
72
+ "distanceApart":0,
73
+ "squash":0,
74
+ "color":0//["Black","Grey","Brown","Lime","Blue","Green"]
75
+ },
76
+ "glasses":{
77
+ "type":0,
78
+ "size":0,
79
+ "yPosition":0,
80
+ "color":0//["Grey","Brown","Red","Blue","Yellow","White"], ["Black","Brown","Red","Blue","Yellow","Grey"]
81
+ },
82
+ "beard":{
83
+ "mustache":{
84
+ "type":0,
85
+ "size":0,
86
+ "yPosition":0
87
+ },
88
+ "type":0,
89
+ "color":0//["Black","Brown","Red","Reddish Brown","Grey","Light Brown","Dark Blonde","Blonde"]
90
+ }
91
+ }
package/index.js CHANGED
@@ -2254,7 +2254,6 @@ const MiiJSExports = {
2254
2254
  metricHeightWeightToMiiWeight,
2255
2255
 
2256
2256
  miiIdToTimestamp,
2257
- validateMii,
2258
2257
 
2259
2258
  // Crypto utilities (useful for browser)
2260
2259
  decodeAesCcm,
Binary file
Binary file
package/miijs.png ADDED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "miijs",
3
- "version": "2.5.1",
3
+ "version": "2.5.3",
4
4
  "description": "The most complete and easy to use Mii library on the market.",
5
5
  "main": "index.js",
6
6
  "browser": "dist/miijs.browser.js",
@@ -17,18 +17,6 @@
17
17
  "default": "./dist/miijs.browser.js"
18
18
  }
19
19
  },
20
- "files": [
21
- "index.js",
22
- "dist/",
23
- "shims/",
24
- "Enums.js",
25
- "asmCrypto.js",
26
- "amiiboHandler.js",
27
- "fflWrapper.js",
28
- "data.json",
29
- "types.d.ts",
30
- "patch-ffl.js"
31
- ],
32
20
  "scripts": {
33
21
  "test": "jest",
34
22
  "postinstall": "node ./patch-ffl.js",