@gamely/gly-engine-lite 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.
Files changed (2) hide show
  1. package/dist/main.lua +137 -154
  2. package/package.json +1 -1
package/dist/main.lua CHANGED
@@ -1,54 +1,58 @@
1
1
  local math = ((function() local x, y = pcall(require, 'math'); return x and y end)()) or _G.math
2
- local source_version_22e4 = nil
3
- local source_shared_engine_loadcore_22ef = nil
4
- local source_shared_engine_loadgame_22fa = nil
5
- local source_engine_api_data_encoder_230c = nil
6
- local source_engine_api_system_app_2317 = nil
7
- local source_engine_api_data_hash_2322 = nil
8
- local source_engine_api_io_http_232d = nil
9
- local source_engine_api_data_i18n_2338 = nil
10
- local source_engine_api_system_key_2343 = nil
11
- local source_engine_api_debug_log_234e = nil
12
- local source_engine_api_system_math_2359 = nil
13
- local source_engine_api_data_array_2364 = nil
14
- local source_engine_api_io_media_236f = nil
15
- local source_engine_api_draw_fps_237a = nil
16
- local source_engine_api_draw_text_2385 = nil
17
- local source_engine_api_draw_poly_2390 = nil
18
- local source_engine_api_raw_memory_239b = nil
19
- local source_engine_protocol_http_callback_23ad = nil
20
- local source_shared_var_object_root_23bf = nil
21
- local source_engine_api_system_color_23ca = nil
22
- local source_shared_var_object_std_23d5 = nil
23
- local source_shared_functional_pipeline_288a = nil
24
- local source_shared_string_dsl_requires_2895 = nil
25
- local source_shared_string_eval_file_2afc = nil
26
- local source_shared_string_eval_code_2b07 = nil
27
- local source_shared_functional_decorator_2d77 = nil
28
- local source_shared_string_encode_http_5c3f = nil
29
- local source_shared_string_encode_url_5c4a = nil
30
- local function main_22db()
31
- local version = source_version_22e4()
32
- local loadcore = source_shared_engine_loadcore_22ef()
33
- local loadgame = source_shared_engine_loadgame_22fa()
34
- local engine_encoder = source_engine_api_data_encoder_230c()
35
- local engine_game = source_engine_api_system_app_2317()
36
- local engine_hash = source_engine_api_data_hash_2322()
37
- local engine_http = source_engine_api_io_http_232d()
38
- local engine_i18n = source_engine_api_data_i18n_2338()
39
- local engine_key = source_engine_api_system_key_2343()
40
- local engine_log = source_engine_api_debug_log_234e()
41
- local engine_math = source_engine_api_system_math_2359()
42
- local engine_array = source_engine_api_data_array_2364()
43
- local engine_media = source_engine_api_io_media_236f()
44
- local engine_api_draw_fps = source_engine_api_draw_fps_237a()
45
- local engine_api_draw_text = source_engine_api_draw_text_2385()
46
- local engine_api_draw_poly = source_engine_api_draw_poly_2390()
47
- local engine_raw_memory = source_engine_api_raw_memory_239b()
48
- local callback_http = source_engine_protocol_http_callback_23ad()
49
- local application_default = source_shared_var_object_root_23bf()
50
- local color = source_engine_api_system_color_23ca()
51
- local std = source_shared_var_object_std_23d5()
2
+ local source_version_23ba = nil
3
+ local source_shared_engine_loadcore_23c5 = nil
4
+ local source_shared_engine_loadgame_23d0 = nil
5
+ local source_engine_api_data_encoder_23e2 = nil
6
+ local source_engine_api_system_app_23ed = nil
7
+ local source_engine_api_data_hash_23f8 = nil
8
+ local source_engine_api_io_http_2403 = nil
9
+ local source_engine_api_data_i18n_240e = nil
10
+ local source_engine_api_system_key_2419 = nil
11
+ local source_engine_api_debug_log_2424 = nil
12
+ local source_engine_api_math_basic_242f = nil
13
+ local source_engine_api_math_clib_243a = nil
14
+ local source_engine_api_math_random_2445 = nil
15
+ local source_engine_api_data_array_2450 = nil
16
+ local source_engine_api_io_media_245b = nil
17
+ local source_engine_api_draw_fps_2466 = nil
18
+ local source_engine_api_draw_text_2471 = nil
19
+ local source_engine_api_draw_poly_247c = nil
20
+ local source_engine_api_raw_memory_2487 = nil
21
+ local source_engine_protocol_http_callback_2499 = nil
22
+ local source_shared_var_object_root_24ab = nil
23
+ local source_engine_api_system_color_24b6 = nil
24
+ local source_shared_var_object_std_24c1 = nil
25
+ local source_shared_functional_pipeline_2961 = nil
26
+ local source_shared_string_dsl_requires_296c = nil
27
+ local source_shared_string_eval_file_2bd3 = nil
28
+ local source_shared_string_eval_code_2bde = nil
29
+ local source_shared_functional_decorator_2e7f = nil
30
+ local source_shared_string_encode_http_5c72 = nil
31
+ local source_shared_string_encode_url_5c7d = nil
32
+ local function main_23b1()
33
+ local version = source_version_23ba()
34
+ local loadcore = source_shared_engine_loadcore_23c5()
35
+ local loadgame = source_shared_engine_loadgame_23d0()
36
+ local engine_encoder = source_engine_api_data_encoder_23e2()
37
+ local engine_game = source_engine_api_system_app_23ed()
38
+ local engine_hash = source_engine_api_data_hash_23f8()
39
+ local engine_http = source_engine_api_io_http_2403()
40
+ local engine_i18n = source_engine_api_data_i18n_240e()
41
+ local engine_key = source_engine_api_system_key_2419()
42
+ local engine_log = source_engine_api_debug_log_2424()
43
+ local engine_math = source_engine_api_math_basic_242f()
44
+ local engine_math_clib = source_engine_api_math_clib_243a()
45
+ local engine_math_random = source_engine_api_math_random_2445()
46
+ local engine_array = source_engine_api_data_array_2450()
47
+ local engine_media = source_engine_api_io_media_245b()
48
+ local engine_api_draw_fps = source_engine_api_draw_fps_2466()
49
+ local engine_api_draw_text = source_engine_api_draw_text_2471()
50
+ local engine_api_draw_poly = source_engine_api_draw_poly_247c()
51
+ local engine_raw_memory = source_engine_api_raw_memory_2487()
52
+ local callback_http = source_engine_protocol_http_callback_2499()
53
+ local application_default = source_shared_var_object_root_24ab()
54
+ local color = source_engine_api_system_color_24b6()
55
+ local std = source_shared_var_object_std_24c1()
52
56
  local application = application_default
53
57
  local engine = {
54
58
  keyboard = function(a, b, c, d) end,
@@ -85,6 +89,7 @@ poly = native_draw_poly,
85
89
  line = native_draw_line
86
90
  }
87
91
  local cfg_text = {
92
+ is_tui = native_text_is_tui,
88
93
  font_previous = native_text_font_previous
89
94
  }
90
95
  local cfg_http = {
@@ -133,10 +138,7 @@ function native_callback_keyboard(key, value)
133
138
  engine.keyboard(std, engine, key, value)
134
139
  end
135
140
  function native_callback_http(id, key, data)
136
- if cfg_http.has_callback then
137
- return callback_http.func(engine['http_requests'][id], key, data)
138
- end
139
- return nil
141
+ return callback_http.func(engine['http'][id], key, data, std)
140
142
  end
141
143
  function native_callback_init(width, height, game_lua)
142
144
  application = loadgame.script(game_lua, application_default)
@@ -178,9 +180,8 @@ loadcore.setup(std, application, engine)
178
180
  :package('@draw.poly', engine_api_draw_poly, cfg_poly)
179
181
  :package('@color', color)
180
182
  :package('@log', engine_log, cfg_log)
181
- :package('math', engine_math.clib)
182
- :package('math.wave', engine_math.wave)
183
- :package('math.random', engine_math.clib_random)
183
+ :package('math', engine_math_clib)
184
+ :package('math.random', engine_math_random)
184
185
  :package('http', engine_http, cfg_http)
185
186
  :package('base64', engine_encoder, cfg_base64)
186
187
  :package('json', engine_encoder, cfg_json)
@@ -207,13 +208,13 @@ version=version
207
208
  }
208
209
  return P
209
210
  end
210
- source_version_22e4 = function()
211
- return '0.1.3'
211
+ source_version_23ba = function()
212
+ return '0.1.5'
212
213
  end
213
214
  --
214
- source_shared_engine_loadcore_22ef = function()
215
- local zeebo_pipeline = source_shared_functional_pipeline_288a()
216
- local requires = source_shared_string_dsl_requires_2895()
215
+ source_shared_engine_loadcore_23c5 = function()
216
+ local zeebo_pipeline = source_shared_functional_pipeline_2961()
217
+ local requires = source_shared_string_dsl_requires_296c()
217
218
  local function step_install_libsys(self, lib_name, library, custom, is_system)
218
219
  if not is_system then return end
219
220
  local ok, msg = pcall(function()
@@ -295,9 +296,9 @@ setup = setup
295
296
  return P
296
297
  end
297
298
  --
298
- source_shared_engine_loadgame_22fa = function()
299
- local eval_file = source_shared_string_eval_file_2afc()
300
- local eval_code = source_shared_string_eval_code_2b07()
299
+ source_shared_engine_loadgame_23d0 = function()
300
+ local eval_file = source_shared_string_eval_file_2bd3()
301
+ local eval_code = source_shared_string_eval_code_2bde()
301
302
  local has_io_open = io and io.open
302
303
  local function normalize(app, base)
303
304
  if not app then return nil end
@@ -331,14 +332,18 @@ end
331
332
  return app
332
333
  end
333
334
  local function script(src, base)
335
+ if not src and package and package.jspath then
336
+ src = {}
337
+ end
334
338
  if type(src) == 'table' or type(src) == 'userdata' then
335
339
  return normalize(src, base)
336
340
  end
337
341
  local application = type(src) == 'function' and src
338
- if not src or #src == 0 then
342
+ if not application then
343
+ if type(src) ~= 'string' or #src == 0 then
339
344
  src = 'game'
340
345
  end
341
- if not application and src and src:find('\n') then
346
+ if src:find('\n') then
342
347
  local ok, app = eval_code.script(src)
343
348
  application = ok and app
344
349
  else
@@ -354,6 +359,10 @@ application = ok and app
354
359
  app_file:close()
355
360
  end
356
361
  end
362
+ end
363
+ while type(application) == 'function' do
364
+ application = application()
365
+ end
357
366
  return normalize(application, base)
358
367
  end
359
368
  local P = {
@@ -362,7 +371,7 @@ script = script
362
371
  return P
363
372
  end
364
373
  --
365
- source_engine_api_data_encoder_230c = function()
374
+ source_engine_api_data_encoder_23e2 = function()
366
375
  local function install(std, engine, library, name)
367
376
  std = std or {}
368
377
  std[name] = {
@@ -377,8 +386,8 @@ install=install
377
386
  return P
378
387
  end
379
388
  --
380
- source_engine_api_system_app_2317 = function()
381
- local util_decorator = source_shared_functional_decorator_2d77()
389
+ source_engine_api_system_app_23ed = function()
390
+ local util_decorator = source_shared_functional_decorator_2e7f()
382
391
  local function reset(std, engine)
383
392
  if std.node then
384
393
  std.bus.emit('exit')
@@ -418,7 +427,7 @@ install=install
418
427
  return P
419
428
  end
420
429
  --
421
- source_engine_api_data_hash_2322 = function()
430
+ source_engine_api_data_hash_23f8 = function()
422
431
  local function djb2(digest)
423
432
  local index = 1
424
433
  local hash = 5381
@@ -442,8 +451,8 @@ install = install
442
451
  return P
443
452
  end
444
453
  --
445
- source_engine_api_io_http_232d = function()
446
- local zeebo_pipeline = source_shared_functional_pipeline_288a()
454
+ source_engine_api_io_http_2403 = function()
455
+ local zeebo_pipeline = source_shared_functional_pipeline_2961()
447
456
  local function json(self)
448
457
  self.options['json'] = true
449
458
  return self
@@ -497,15 +506,11 @@ engine.current.callbacks.http(std, engine.current.data)
497
506
  end
498
507
  end
499
508
  return function (url)
500
- if protocol.has_callback then
501
- engine.http_count = engine.http_count + 1
502
- end
503
509
  local json_encode = std.json and std.json.encode
504
510
  local json_decode = std.json and std.json.decode
505
511
  local http_body = function(self, content) return body(self, content, json_encode) end
506
512
  local game = engine.current.data
507
513
  local self = {
508
- id = engine.http_count,
509
514
  url = url,
510
515
  speed = '',
511
516
  options = {},
@@ -540,11 +545,13 @@ std.http[key] = value
540
545
  end
541
546
  self.pipeline = {
542
547
  function()
543
- if not protocol.force or self.options['noforce'] then return end
548
+ self.id = tonumber(tostring({}):gsub('0x', ''):match('^table: (%w+)$'), 16)
549
+ engine.http[self.id] = self
550
+ if protocol.force and not self.options['noforce'] then
544
551
  self.url = url:gsub("^[^:]+://", protocol.force.."://")
552
+ end
545
553
  end,
546
554
  function()
547
- if protocol.has_callback then engine.http_requests[self.id] = self end
548
555
  protocol.handler(self, self.id)
549
556
  end,
550
557
  function()
@@ -576,7 +583,7 @@ std.http.status = nil
576
583
  std.http.body_is_table = nil
577
584
  end,
578
585
  function()
579
- if protocol.has_callback then engine.http_requests[self.id] = nil end
586
+ engine.http[self.id] = nil
580
587
  zeebo_pipeline.reset(self)
581
588
  end
582
589
  }
@@ -585,10 +592,7 @@ end
585
592
  end
586
593
  local function install(std, engine, protocol)
587
594
  assert(protocol and protocol.handler, 'missing protocol handler')
588
- if protocol.has_callback then
589
- engine.http_count = 0
590
- engine.http_requests = {}
591
- end
595
+ engine.http = {}
592
596
  std.http = std.http or {}
593
597
  std.http.get=request('GET', std, engine, protocol)
594
598
  std.http.head=request('HEAD', std, engine, protocol)
@@ -606,7 +610,7 @@ install=install
606
610
  return P
607
611
  end
608
612
  --
609
- source_engine_api_data_i18n_2338 = function()
613
+ source_engine_api_data_i18n_240e = function()
610
614
  local language = 'en-US'
611
615
  local language_default = 'en-US'
612
616
  local language_list = {}
@@ -698,7 +702,7 @@ install=install
698
702
  return P
699
703
  end
700
704
  --
701
- source_engine_api_system_key_2343 = function()
705
+ source_engine_api_system_key_2419 = function()
702
706
  local function real_key(std, engine, rkey, rvalue)
703
707
  local value = rvalue == 1 or rvalue == true
704
708
  local key = engine.key_bindings[rkey] or (std.key.axis[rkey] and rkey)
@@ -735,8 +739,8 @@ install = install
735
739
  return P
736
740
  end
737
741
  --
738
- source_engine_api_debug_log_234e = function()
739
- local util_decorator = source_shared_functional_decorator_2d77()
742
+ source_engine_api_debug_log_2424 = function()
743
+ local util_decorator = source_shared_functional_decorator_2e7f()
740
744
  local logging_types = {
741
745
  'none', 'fatal', 'error', 'warn', 'debug', 'info'
742
746
  }
@@ -782,7 +786,7 @@ install = install
782
786
  return P
783
787
  end
784
788
  --
785
- source_engine_api_system_math_2359 = function()
789
+ source_engine_api_math_basic_242f = function()
786
790
  local function abs(value)
787
791
  if value < 0 then
788
792
  return -value
@@ -861,30 +865,6 @@ index = index + 1
861
865
  end
862
866
  return min_value
863
867
  end
864
- local function sine(t, freq)
865
- return math.pi and math.sin(2 * math.pi * freq * t) or 1
866
- end
867
- local function ramp(t, freq, ratio)
868
- t = (t / 2) % (1 / freq) * freq
869
- if t < ratio then
870
- return 2 * t / ratio - 1
871
- else
872
- return (2 * t - ratio - 1) / (ratio - 1)
873
- end
874
- end
875
- local function saw(t, freq)
876
- return ramp(t, freq, 1)
877
- end
878
- local function triangle(t, freq)
879
- return ramp(t, freq, 1/2)
880
- end
881
- local function rect(t, freq, duty)
882
- duty = 1 - duty * 2
883
- return saw(t, freq) > duty and 1 or -1
884
- end
885
- local function square(t, freq)
886
- return rect(t, freq, 1/2)
887
- end
888
868
  local function install(std)
889
869
  std.math = std.math or {}
890
870
  std.math.abs=abs
@@ -899,14 +879,15 @@ std.math.map=map
899
879
  std.math.max=max
900
880
  std.math.min=min
901
881
  end
902
- local function install_wave(std)
903
- std.math = std.math or {}
904
- std.math.sine=sine
905
- std.math.saw=saw
906
- std.math.square=square
907
- std.math.triangle=triangle
882
+ local P = {
883
+ install = install
884
+ }
885
+ return P
908
886
  end
909
- local function install_clib(std)
887
+ --
888
+ source_engine_api_math_clib_243a = function()
889
+ local function install(std)
890
+ assert(math and (1/2 ~= 0))
910
891
  std.math = std.math or {}
911
892
  std.math.acos=math.acos
912
893
  std.math.asin=math.asin
@@ -934,31 +915,31 @@ std.math.sqrt=math.sqrt
934
915
  std.math.tan=math.tan
935
916
  std.math.tanh=math.tanh
936
917
  end
937
- local function install_clib_random(std)
918
+ local P = {
919
+ install = install
920
+ }
921
+ return P
922
+ end
923
+ --
924
+ source_engine_api_math_random_2445 = function()
925
+ local function install(std)
926
+ assert(math and (1/2 ~= 0))
938
927
  std.math = std.math or {}
939
928
  std.math.random = function(a, b)
940
929
  a = a and math.floor(a)
941
930
  b = b and math.floor(b)
931
+ if a > b then a, b = b, a end
942
932
  return math.random(a, b)
943
933
  end
944
934
  end
945
935
  local P = {
946
- install = install,
947
- wave = {
948
- install = install_wave
949
- },
950
- clib = {
951
- install = install_clib
952
- },
953
- clib_random = {
954
- install = install_clib_random
955
- }
936
+ install = install
956
937
  }
957
- return P;
938
+ return P
958
939
  end
959
940
  --
960
- source_engine_api_data_array_2364 = function()
961
- local util_decorator = source_shared_functional_decorator_2d77()
941
+ source_engine_api_data_array_2450 = function()
942
+ local util_decorator = source_shared_functional_decorator_2e7f()
962
943
  local function array_map(array, func)
963
944
  local res = {}
964
945
  local index = 1
@@ -1119,7 +1100,7 @@ install = install
1119
1100
  return P
1120
1101
  end
1121
1102
  --
1122
- source_engine_api_io_media_236f = function()
1103
+ source_engine_api_io_media_245b = function()
1123
1104
  local function media_create(node, channels, handler)
1124
1105
  local decorator = function(func)
1125
1106
  func = func or function() end
@@ -1166,7 +1147,7 @@ install=install
1166
1147
  return P
1167
1148
  end
1168
1149
  --
1169
- source_engine_api_draw_fps_237a = function()
1150
+ source_engine_api_draw_fps_2466 = function()
1170
1151
  local function draw_fps(std, engine, show, pos_x, pos_y)
1171
1152
  if show < 1 then return end
1172
1153
  local x = engine.current.config.offset_x + pos_x
@@ -1215,8 +1196,8 @@ install=install
1215
1196
  return P
1216
1197
  end
1217
1198
  --
1218
- source_engine_api_draw_text_2385 = function()
1219
- local util_decorator = source_shared_functional_decorator_2d77()
1199
+ source_engine_api_draw_text_2471 = function()
1200
+ local util_decorator = source_shared_functional_decorator_2e7f()
1220
1201
  local function text_put(std, engine, font_previous, pos_x, pos_y, text, size)
1221
1202
  size = size or 2
1222
1203
  local hem = engine.current.data.width / 80
@@ -1234,6 +1215,8 @@ std.text.print(x - aligns_x[(align_x or 1) + 2], y - aligns_y[(align_y or 1) + 2
1234
1215
  return w, h
1235
1216
  end
1236
1217
  local function install(std, engine, config)
1218
+ std.text.font_previous = config.font_previous
1219
+ std.text.is_tui = config.is_tui or function() return false end
1237
1220
  std.text.print_ex = util_decorator.prefix2(std, engine, text_print_ex)
1238
1221
  std.text.put = util_decorator.prefix3(std, engine, config.font_previous, text_put)
1239
1222
  end
@@ -1243,7 +1226,7 @@ install=install
1243
1226
  return P
1244
1227
  end
1245
1228
  --
1246
- source_engine_api_draw_poly_2390 = function()
1229
+ source_engine_api_draw_poly_247c = function()
1247
1230
  local function decorator_poo(object, func)
1248
1231
  if not object or not func then return func end
1249
1232
  return function(a, b, c, d)
@@ -1350,7 +1333,7 @@ install=install
1350
1333
  return P
1351
1334
  end
1352
1335
  --
1353
- source_engine_api_raw_memory_239b = function()
1336
+ source_engine_api_raw_memory_2487 = function()
1354
1337
  local memory_dict_unload = {}
1355
1338
  local memory_dict = {}
1356
1339
  local memory_list = {}
@@ -1405,9 +1388,9 @@ install=install
1405
1388
  return P
1406
1389
  end
1407
1390
  --
1408
- source_engine_protocol_http_callback_23ad = function()
1409
- local str_http = source_shared_string_encode_http_5c3f()
1410
- local str_url = source_shared_string_encode_url_5c4a()
1391
+ source_engine_protocol_http_callback_2499 = function()
1392
+ local str_http = source_shared_string_encode_http_5c72()
1393
+ local str_url = source_shared_string_encode_url_5c7d()
1411
1394
  local callbacks = {
1412
1395
  ['async-promise'] = function(self)
1413
1396
  return self:promise()
@@ -1474,7 +1457,7 @@ func = native_http_callback
1474
1457
  return P
1475
1458
  end
1476
1459
  --
1477
- source_shared_var_object_root_23bf = function()
1460
+ source_shared_var_object_root_24ab = function()
1478
1461
  local P = {
1479
1462
  data={
1480
1463
  width=1280,
@@ -1504,7 +1487,7 @@ callbacks={
1504
1487
  return P;
1505
1488
  end
1506
1489
  --
1507
- source_engine_api_system_color_23ca = function()
1490
+ source_engine_api_system_color_24b6 = function()
1508
1491
  local function install(std)
1509
1492
  std.color = std.color or {}
1510
1493
  std.color.white = 0xFFFFFFFF
@@ -1539,7 +1522,7 @@ install = install
1539
1522
  return P
1540
1523
  end
1541
1524
  --
1542
- source_shared_var_object_std_23d5 = function()
1525
+ source_shared_var_object_std_24c1 = function()
1543
1526
  local P = {
1544
1527
  milis = 0,
1545
1528
  delta = 0,
@@ -1607,7 +1590,7 @@ any=false
1607
1590
  return P;
1608
1591
  end
1609
1592
  --
1610
- source_shared_functional_pipeline_288a = function()
1593
+ source_shared_functional_pipeline_2961 = function()
1611
1594
  local function pipe(self)
1612
1595
  return function()
1613
1596
  self:run()
@@ -1657,7 +1640,7 @@ run=run
1657
1640
  return P
1658
1641
  end
1659
1642
  --
1660
- source_shared_string_dsl_requires_2895 = function()
1643
+ source_shared_string_dsl_requires_296c = function()
1661
1644
  local function encode(dsl_string)
1662
1645
  local spec = {
1663
1646
  list = {},
@@ -1706,7 +1689,7 @@ should_import = should_import
1706
1689
  return P
1707
1690
  end
1708
1691
  --
1709
- source_shared_string_eval_file_2afc = function()
1692
+ source_shared_string_eval_file_2bd3 = function()
1710
1693
  local function script(src)
1711
1694
  local ok, app = false, nil
1712
1695
  if require then
@@ -1732,7 +1715,7 @@ script = script,
1732
1715
  return P
1733
1716
  end
1734
1717
  --
1735
- source_shared_string_eval_code_2b07 = function()
1718
+ source_shared_string_eval_code_2bde = function()
1736
1719
  local function script(src)
1737
1720
  local loader = loadstring or load
1738
1721
  if not loader then
@@ -1753,7 +1736,7 @@ script = script,
1753
1736
  return P
1754
1737
  end
1755
1738
  --
1756
- source_shared_functional_decorator_2d77 = function()
1739
+ source_shared_functional_decorator_2e7f = function()
1757
1740
  local function decorator_prefix3(zig, zag, zom, func)
1758
1741
  return function (a, b, c, d, e, f)
1759
1742
  return func(zig, zag, zom, a, b, c, d, e, f)
@@ -1811,7 +1794,7 @@ prefix1_t = table_prefix1
1811
1794
  return P
1812
1795
  end
1813
1796
  --
1814
- source_shared_string_encode_http_5c3f = function()
1797
+ source_shared_string_encode_http_5c72 = function()
1815
1798
  local function is_ok(status)
1816
1799
  return (status and 200 <= status and status < 300) or false
1817
1800
  end
@@ -1958,7 +1941,7 @@ create_request=create_request
1958
1941
  }
1959
1942
  end
1960
1943
  --
1961
- source_shared_string_encode_url_5c4a = function()
1944
+ source_shared_string_encode_url_5c7d = function()
1962
1945
  local function search_param(param_list, param_dict)
1963
1946
  local index, params = 1, ''
1964
1947
  while param_list and param_dict and index <= #param_list do
@@ -1980,4 +1963,4 @@ search_param = search_param
1980
1963
  return P
1981
1964
  end
1982
1965
  --
1983
- return main_22db()
1966
+ return main_23b1()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gamely/gly-engine-lite",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "author": "RodrigoDornelles",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://docs.gamely.com.br",